void Start()
 {
     inventory = gameObject.GetComponent <Inventory>();
     stomach   = gameObject.GetComponent <ItemRender>();
 }
Example #2
0
 void Awake()
 {
     cur = this;
     cur.gameObject.SetActive (false);
 }