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