Пример #1
0
 //Very simple anim right now. Fix later. States currently do nothing.
 void Update()
 {
     if (Attacking)
     {
         AnimState = JellyAnimState.Attack;
         animator.SetBool("Attacking", true);
     }
     else
     {
         AnimState = JellyAnimState.Idle;
         animator.SetBool("Attacking", false);
     }
 }
Пример #2
0
 void Start()
 {
     AnimState = JellyAnimState.Idle;
 }