Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     player     = GameObject.Find("Player").transform;
     bushParent = this.transform.parent.GetComponent <BushParentScript> ();
     originPos  = this.transform.position;
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     player = GameObject.Find ("Player").transform;
     bushParent = this.transform.parent.GetComponent<BushParentScript> ();
     originPos = this.transform.position;
 }