예제 #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;
 }