Exemple #1
0
 public void set_state(sbyte v)
 {
     Debug.Log(" GameEntity set_state  state = " + v);
     if (v == 3)
     {
     }
     else if (v == 0)
     {
         gameObject.SetActive(true);
     }
     else if (v == 1)
     {
         m_Health.OnDeath();
         gameObject.SetActive(false);
     }
 }