Example #1
0
 // 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>();
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     _videoManager = GameObject.Find("VideoManager").GetComponent <VideoManagerController>();
 }
Example #3
0
 // Use this for initialization
 void Start()
 {
     _prevPos      = transform.localPosition;
     _prevScale    = transform.localScale;
     _videoManager = GameObject.Find("VideoManager").GetComponent <VideoManagerController>();
 }