// Use this for initialization void Start() { _text = GetComponentInChildren <Text>(); _text.text = "Disable"; _image = GetComponent <Image>(); _image.color = Color.gray; _videoManager = GameObject.Find("VideoManager").GetComponent <VideoManagerController>(); }
// Use this for initialization void Start() { _videoManager = GameObject.Find("VideoManager").GetComponent <VideoManagerController>(); }
// Use this for initialization void Start() { _prevPos = transform.localPosition; _prevScale = transform.localScale; _videoManager = GameObject.Find("VideoManager").GetComponent <VideoManagerController>(); }