16 lines
231 B
C#
16 lines
231 B
C#
using UnityEngine;
|
|
|
|
public class EnemyAnimationEvent : MonoBehaviour
|
|
{
|
|
public EnemyAI mainScript;
|
|
|
|
public void PlayEventA()
|
|
{
|
|
mainScript.AnimationEventA();
|
|
}
|
|
|
|
public void PlayEventB()
|
|
{
|
|
mainScript.AnimationEventB();
|
|
}
|
|
}
|