Пример #1
0
 private void Start()
 {
     Respawn();
     FlingFlowerGuide?.Hide();
 }
Пример #2
0
 /// <summary>
 /// Display this guide.
 /// </summary>
 /// <seealso cref="FlingFlowerGuide.Show" />
 public void ShowFlingAimingGuide() => FlingFlowerGuide.Show();
Пример #3
0
 /// <summary>
 /// Hide this guide.
 /// </summary>
 /// <seealso cref="FlingFlowerGuide.Hide" />
 public void HideFlingAimingGuide() => FlingFlowerGuide.Hide();
Пример #4
0
 /// <summary>
 /// The amount the player's fling has charged up as a percentage.
 /// </summary>
 /// <returns>A percentage (0 - 1).</returns>
 /// <seealso cref="FlingFlowerGuide.GetPercentCharged" />
 public float GetFlingPercentCharged() => FlingFlowerGuide.GetPercentCharged();
Пример #5
0
 /// <summary>
 /// Set the maximum amount the player can charge their fling up to.
 /// </summary>
 /// <param name="max">The maximum value this can charge up to.</param>
 /// <seealso cref="FlingFlowerGuide.SetMaxCharge" />
 public void SetMaxFlingCharge(float max) => FlingFlowerGuide.SetMaxCharge(max);
Пример #6
0
 /// <summary>
 /// Resets the current fling charge back to 0.
 /// </summary>
 /// <seealso cref="FlingFlowerGuide.ResetCharge" />
 public void ResetFlingCharge() => FlingFlowerGuide.ResetCharge();
Пример #7
0
 /// <summary>
 /// Get the current fling charge.
 /// </summary>
 /// <returns> The raw charge (not a percentage).</returns>
 /// <seealso cref="FlingFlowerGuide.GetCharge" />
 public float GetFlingCharge() => FlingFlowerGuide.GetCharge();
Пример #8
0
 /// <summary>
 /// Add some amount to the fling charge.
 /// </summary>
 /// <param name="chargeAmount">The amount to add to the total charge.</param>
 /// <seealso cref="FlingFlowerGuide.Charge" />
 public void ChargeFling(float chargeAmount) => FlingFlowerGuide.Charge(chargeAmount);