// Start is called before the first frame update void Awake() { //Debug.Log("Starting"); gameConrtoller = FindObjectOfType <GameConrtoller>(); dataController = FindObjectOfType <DataController>(); imageDisplay = GetComponent <Image>(); //scoreText = GetComponentInChildren<Text>(); }
// Use this for initialization void Start() { //Access the gamecontroller object gameController = FindObjectOfType <GameConrtoller> (); aCounter = 0; }