14 lines
322 B
C#
14 lines
322 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class AnimEnd : MonoBehaviour {
|
|
|
|
// Use this for initialization
|
|
public void setAnimState(int state)
|
|
{
|
|
Debug.Log("setAnimState: " + state + " !");
|
|
if (state==1) Gamestate.Instance.setAnimPlaying(false);
|
|
}
|
|
}
|