Пример #1
0
 public override void Enter(Entity context)
 {
     context.SetSpeed(0.0f);
     context.MakeInvunerable();
     context.SetDyingAnimation();
     if (context.blood)
         GameObject.Instantiate(context.blood, context.transform.position + Vector3.up*1.5f, context.transform.rotation);
 }
Пример #2
0
 public override void Enter(Entity context)
 {
     context.SetSpeed(0.0f);
     context.SetDyingAnimation();
 }