Пример #1
0
 public override void SetupObj()
 {
     //Debug.Log (ability_point);
     fireball_object                   = ability_object.GetComponent <Fireball_Object> ();
     fireball_object.size              = chargedTime;
     fireball_object.ability           = this;
     ability_object.transform.position = ability_point.position;
     ability_object.transform.rotation = owner.transform.rotation;
 }
Пример #2
0
	public override void SetupObj(){
		//Debug.Log (ability_point);
		fireball_object = ability_object.GetComponent<Fireball_Object> ();
		fireball_object.size = chargedTime;
		fireball_object.ability = this;
		ability_object.transform.position = ability_point.position;
		ability_object.transform.rotation = owner.transform.rotation;
	}