38 lines
1000 B
C#
38 lines
1000 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000AE RID: 174
|
|
public class KaleidxScopeCourseSelectAnimController : MonoBehaviour
|
|
{
|
|
// Token: 0x060005E3 RID: 1507 RVA: 0x00018596 File Offset: 0x00017796
|
|
private void Awake()
|
|
{
|
|
this.animHashList.Add(Animator.StringToHash("In"));
|
|
}
|
|
|
|
// Token: 0x060005E4 RID: 1508 RVA: 0x000185AD File Offset: 0x000177AD
|
|
public void PlayAnimation(KaleidxScopeCourseSelectAnimController.AnimState animState)
|
|
{
|
|
if (animState < KaleidxScopeCourseSelectAnimController.AnimState.In || animState >= (KaleidxScopeCourseSelectAnimController.AnimState)this.animHashList.Count)
|
|
{
|
|
return;
|
|
}
|
|
this.animator.SetTrigger(this.animHashList[(int)animState]);
|
|
}
|
|
|
|
// Token: 0x0400046F RID: 1135
|
|
[SerializeField]
|
|
private Animator animator;
|
|
|
|
// Token: 0x04000470 RID: 1136
|
|
private List<int> animHashList = new List<int>();
|
|
|
|
// Token: 0x02000989 RID: 2441
|
|
public enum AnimState
|
|
{
|
|
// Token: 0x04006064 RID: 24676
|
|
In
|
|
}
|
|
}
|