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