Esempio n. 1
0
        public void SetEntity(Entity entity)
        {
            gameObject.SetActive(true);

            nowEntity = entity;
            nowText   = EntityText.Load(entity.code);

            nameText.text = nowText.description;
        }
Esempio n. 2
0
 public void ClearEntity()
 {
     gameObject.SetActive(false);
     nowEntity = null;
     nowText   = null;
 }