LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/AnimationStopPoints.cs

26 lines
405 B
C#
Raw Permalink Normal View History

2023-12-22 22:51:17 +00:00
using UnityEngine;
public class AnimationStopPoints : MonoBehaviour
{
public bool canAnimationStop;
public int animationPosition = 1;
public void SetAnimationStopPosition1()
{
canAnimationStop = true;
animationPosition = 1;
}
public void SetAnimationGo()
{
canAnimationStop = false;
}
public void SetAnimationStopPosition2()
{
canAnimationStop = true;
animationPosition = 2;
}
}