Esempio n. 1
0
 void Awake()
 {
     cleared    = false;
     discovered = false;
     beaten     = true;
     if (contents.room == null)
     {
         contents = new RoomContents(this, gridWidth, gridHeight);
     }
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Awake()
 {
     gameManager  = GameObject.Find("GameManager").GetComponent <GameManager>();
     roomContents = contentsContainer.GetComponent <RoomContents>();
 }