private void Start() { currentBackground = GameObject.Find("Background").GetComponent <DisplayBackground>(); blueWall = GameObject.FindWithTag("BlueWall"); blueWall.SetActive(false); Room1.SetActive(false); /* * foreach (GameObject child in GameObject.FindWithTag("BlueWall").gameObject.transform) * { * child.SetActive(false); * } */ }
private void Start() { currentBackground = GameObject.Find("Background").GetComponent <DisplayBackground>(); }
public void Select() { _selected = true; DisplayBackground.Display(background, Path.Combine(map.Path, map.MetaData.Icon)); }