Beispiel #1
0
        protected override void OnStart(GridUnit gridUnit)
        {
            CursorManager.instance.SetToInteractionInitialized();

            timer = gridUnit.animationClip.length;
            gridUnit.PlayAnimation(gridUnit.actionAnimation);
            gridUnit.Animator.SetBool("isInteracting", true);
        }
Beispiel #2
0
 protected override void OnStart(GridUnit gridUnit)
 {
     timer = 0.5f;
     gridUnit.PlayAnimation(gridUnit.actionAnimation);
     gridUnit.Animator.SetBool("isInteracting", true);
 }
Beispiel #3
0
 protected override void OnStart(GridUnit gridUnit)
 {
     timer = animationClip.length;
     gridUnit.PlayAnimation(animation);
     gridUnit.Animator.SetBool("isInteracting", true);
 }