Exemplo n.º 1
0
 void Start()
 {
     bounds = GameObject.FindWithTag("Ground").GetComponent<Boundaries>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     texture = GetComponent <RawImage>().texture as Texture2D;
     bounds  = GameObject.Find("Ground").GetComponent <Boundaries>();
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     texture = GetComponent<RawImage>().texture as Texture2D;
     bounds = GameObject.Find("Ground").GetComponent<Boundaries>();
 }