Exemple #1
0
 public void Restart()
 {
     m_LeftHeadContr  = (HeadController)m_LeftHead.GetComponent(typeof(HeadController));
     m_RightHeadContr = (HeadController)m_RightHead.GetComponent(typeof(HeadController));
     m_MassEaten      = 0.0f;
     m_State          = MonsterState.Normal;
     m_TargetPos.y    = m_StartPosY;
     m_LeftHeadContr.Restart();
     m_RightHeadContr.Restart();
 }