示例#1
0
 void Start()
 {
     options = this.transform.parent.gameObject.GetComponent <UnitScript>().Options as AirUnitOptions;
     blib    = GetComponentInChildren <SpriteRenderer>().gameObject.transform;
 }
示例#2
0
	void Start () 
    {
        options = this.transform.parent.gameObject.GetComponent<UnitScript>().Options as AirUnitOptions;
        blib = GetComponentInChildren<SpriteRenderer>().gameObject.transform;
        
	}