test commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class TinkyUnleashingSequence : MonoBehaviour
|
||||
{
|
||||
public DummyWinky dummyWinky;
|
||||
public Animator animator;
|
||||
|
||||
bool played = false;
|
||||
|
||||
public void Play()
|
||||
{
|
||||
if (played) return;
|
||||
played = true;
|
||||
|
||||
animator.Play("Unleash", 0, 0);
|
||||
}
|
||||
|
||||
public void WinkyEvent()
|
||||
{
|
||||
dummyWinky.Unleash();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user