public void SetNextJumpSetting()
    {
        CurrentJumpSetting = JumpSettings[(JumpSettings.IndexOf(CurrentJumpSetting) + 1) % JumpSettings.Count];
        var newJumpPlaceScale = new Vector3(CurrentJumpSetting.JumpPlaceSize, JumpPlace.localScale.y, CurrentJumpSetting.JumpPlaceSize);

        JumpPlace.DOScale(newJumpPlaceScale, JumpPlaceScaleDuration);
    }
 public JumpState(PlayerActor actor, JumpSetting setting) : base(actor)
 {
     _setting = setting;
 }
 public void SetJumpSetting(int jumpSettingNumber)
 {
     CurrentJumpSetting   = JumpSettings[jumpSettingNumber];
     JumpPlace.localScale = new Vector3(CurrentJumpSetting.JumpPlaceSize, JumpPlace.localScale.y, CurrentJumpSetting.JumpPlaceSize);
 }
 private void Start()
 {
     CurrentJumpSetting = JumpSettings[0];
 }