Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        ShipsButton    = GameObject.Find("ShipsButton");
        UpgradesButton = GameObject.Find("UpgradesButton");
        ShipsPanel     = GameObject.Find("ShipsPanel");
        RepairsButton  = GameObject.Find("RepairsButton");
        RepairsPanel   = GameObject.Find("RepairsPanel");
        UpgradesPanel  = GameObject.Find("UpgradesPanel");

        ShipsPanel.SetActive(false);
        UpgradesPanel.SetActive(false);
    }
Exemplo n.º 2
0
 public void onRepairsClick()
 {
     UpgradesPanel.SetActive(false);
     ShipsPanel.SetActive(false);
     RepairsPanel.SetActive(true);
 }