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);
         * }
         */
    }
Example #2
0
 private void Start()
 {
     currentBackground = GameObject.Find("Background").GetComponent <DisplayBackground>();
 }
Example #3
0
 public void Select()
 {
     _selected = true;
     DisplayBackground.Display(background, Path.Combine(map.Path, map.MetaData.Icon));
 }