// Use this for initialization void Awake() { instance = this; pointer = this.gameObject; myImage = this.transform.FindChild("Image").GetComponent<Image>(); }
// Use this for initialization void Awake() { instance = this; pointer = this.gameObject; myImage = this.transform.FindChild("Image").GetComponent <Image>(); }