示例#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這個程式
 }