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