30 lines
767 B
C#
30 lines
767 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
// Token: 0x020000E2 RID: 226
|
|
public class MapClearWindow : EventWindowBase
|
|
{
|
|
// Token: 0x0600076F RID: 1903 RVA: 0x0001C78B File Offset: 0x0001B98B
|
|
public void Set(Sprite main)
|
|
{
|
|
this._main.sprite = main;
|
|
}
|
|
|
|
// Token: 0x06000770 RID: 1904 RVA: 0x0001C79C File Offset: 0x0001B99C
|
|
public override void Play(Action onAction)
|
|
{
|
|
int num = this._animator.GetLayerIndex("Rotation");
|
|
this._animator.SetLayerWeight(num, 1f);
|
|
this._animator.Play("Star_Rotation", num, 0f);
|
|
num = this._animator.GetLayerIndex("Star");
|
|
this._animator.SetLayerWeight(num, 1f);
|
|
this._animator.Play("Star", num, 0f);
|
|
base.Play(onAction);
|
|
}
|
|
|
|
// Token: 0x04000591 RID: 1425
|
|
[SerializeField]
|
|
private Image _main;
|
|
}
|