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