protected void Awake() { model = GameModel.GetInstance(); display = GetComponent <ZombieSpriteDisplay>(); state = GetComponent <AbnormalState>(); Invoke("Groan", Random.Range(5f, 10f)); }
protected void Awake() { model = GameModel.GetInstance(); display = GetComponent<ZombieSpriteDisplay>(); state = GetComponent<AbnormalState>(); Invoke("Groan", Random.Range(5f, 10f)); }
void Awake() { animator = transform.FindChild("zombie").GetComponent <Animator>(); audioSource = GetComponent <AudioSource>(); model = GameModel.GetInstance(); move = GetComponent <ZombieMove>(); state = GetComponent <AbnormalState>(); }
void Awake() { animator = transform.FindChild("zombie").GetComponent<Animator>(); audioSource = GetComponent<AudioSource>(); model = GameModel.GetInstance(); move = GetComponent<ZombieMove>(); state = GetComponent<AbnormalState>(); }
protected void Awake() { state = GetComponent <AbnormalState>(); }
public void AddAbnormalState(AbnormalState AS) { AbnormalStateList.Add(AS); SecondAction += AS.StatuSecondEvent; }