Пример #1
0
 public void SetSpawner(Spawner_Arrow _spawner)
 {
     spawner = _spawner;
 }
Пример #2
0
 void Start()
 {
     arrowSpawner = GetComponent<Spawner_Arrow>();
     //speed up double jump animation.
     animation["double_jump"].speed = 1.5f;
     initChargeTime1Static = FSM_Charge.FsmVariables.GetFsmFloat("chargeTime1").Value;
     initChargeTime2Static = FSM_Charge.FsmVariables.GetFsmFloat("chargeTime2").Value;
     initChargeTime3Static = FSM_Charge.FsmVariables.GetFsmFloat("chargeTime3").Value;
     initMaxJumpCountStatic = maxJumpCount;
 }