public void TigerAttack(TigerTemplateBoss tiger) { var newState = new TigerBossDamageState(); newState.tigerToThrow = tiger; ChangeState(newState); }
public void OpenCage(TigerBoss boss) { Debug.Log("TigerBossCage :: OpenCage() - cage was opened"); TigerTemplateBoss tiger = Instantiate(tigerTemplate); tiger.gameObject.SetActive(true); tiger.Init(boss); tiger.transform.position = transform.position; Destroy(this.gameObject); }