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