コード例 #1
0
 void Awake()
 {
     if (instance != null)
     {
         Debug.LogWarning("More than one order form, not good.");
         return;
     }
     instance = this;
 }
コード例 #2
0
 void Awake()
 {
     instance = this;
 }
コード例 #3
0
 void Awake()
 {
     instance = this;
     ResetScore();
     ResetCoins();
 }
コード例 #4
0
 private void Start()
 {
     scorer      = ScoreControllerScript.instance;
     elementText = GetComponent <Text>();
 }
コード例 #5
0
 private void Start()
 {
     scoring = ScoreControllerScript.instance;
 }