Exemple #1
0
	// Use this for initialization
	void Start () {
		Instance = this;
		goldText = gameObject.GetComponentsInChildren<Text>();
		InvokeRepeating ("addGold", 0f, goldRate);
	}
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     Instance = this;
     goldText = gameObject.GetComponentsInChildren <Text>();
     InvokeRepeating("addGold", 0f, goldRate);
 }