Exemple #1
0
 // Unity functions
 private void Awake()
 {
     NormalState     = new NormalState(this);
     BigState        = new BigState(this);
     ShootingState   = new ShootingState(this);
     InvincibleState = new InvincibleState(this);
 }
 private void Awake()
 {
     invincibleState = new InvincibleState(this);
     vulnerableState = new VulnerableState(this);
 }