예제 #1
0
    void Start()
    {
        Instance = this;

        GameOverTitle.SetActive(false);                 //不顯示

        RestartButton.SetActive(false);                 //不顯示
    }
예제 #2
0
 void Start()
 {
     Instance = this;
     LoseText.SetActive(false);
 }
예제 #3
0
 public static gamefunction Instance; // 設定Instance,讓其他程式能讀取GameFunction裡的東西
 void Start()
 {
     Instance = this; //指定Instance這個程式
 }