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