// Use this for initialization void Start() { nextImage = GameObject.Find("Canvas/Image").GetComponent <Image>(); score = GetComponent <Score_Tracker>(); NextBlock(); CreateBlock(); }
// Use this for initialization void Start() { nextImage = GameObject.Find("Canvas/Image").GetComponent<Image>(); score = GetComponent<Score_Tracker>(); NextBlock(); CreateBlock(); }
private void Awake() { Instance = this; }
void Start() { score = GameObject.Find("GameManager").GetComponent<Score_Tracker>(); }
void Start() { score = GameObject.Find("GameManager").GetComponent <Score_Tracker>(); }