Beispiel #1
0
 public void ChangeState()
 {
     timer                = 1;
     countOfStrikes       = 4;
     vampire.CurrentState = vampire.BeastForm;
     vampire.GetComponent <BoxCollider2D>().size = new Vector2(0.48f, 0.64f);
 }
Beispiel #2
0
 public void ChangeState()
 {
     countOfJumps         = 4;
     vampire.CurrentState = vampire.HumanForm;
     vampire.GetComponent <BoxCollider2D>().size = new Vector2(0.24f, 0.58f);
 }