Exemplo n.º 1
0
 public override void Start()
 {
     base.Start();
     m_Movable   = GetComponent <MovableObject>();
     m_Message   = GetComponent <MmoMessageComponent>();
     m_State     = new PetIdleState(this);
     m_Character = GetComponent <CharacterObject>();
 }
Exemplo n.º 2
0
 public void SetState(PetBaseState state)
 {
     m_State = state;
 }