Esempio n. 1
0
 // Unity functions
 private void Awake()
 {
     NormalState     = new NormalState(this);
     BigState        = new BigState(this);
     ShootingState   = new ShootingState(this);
     InvincibleState = new InvincibleState(this);
 }
Esempio n. 2
0
 private void Awake()
 {
     invincibleState = new InvincibleState(this);
     vulnerableState = new VulnerableState(this);
 }