public void SetSpawner(Spawner_Arrow _spawner) { spawner = _spawner; }
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; }