// Update is called once per frame void Update() { if (dyingAnimation.ShouldBeEnded) { dyingAnimation.End(); } }
// Call in the end if overridden protected virtual void Update() { if (attackAnimation.ShouldBeEnded) { //Debug.Log("Ending attack animation from Update!"); attackAnimation.End(); } }