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