void Start() { uiFunctions = GameObject.FindGameObjectWithTag("GameManager").GetComponent <UIfonctions>(); restart.gameObject.SetActive(false); home.gameObject.SetActive(false); InvokeRepeating("updatscore", 1.0f, 1.0f); }
public void Start() { uiFunctions = GameObject.FindGameObjectWithTag("GameManager").GetComponent <UIfonctions>(); canSpawn = true; }
void start() { uiFunctions = GameObject.FindGameObjectWithTag("GameManager").GetComponent<UIfonctions>(); }