LearnWithTouch/Assets/scripts/AnimEnd.cs
2019-07-01 14:33:21 +02:00

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);
}
}