diff --git a/MiraAPI/Hud/CustomActionButton.cs b/MiraAPI/Hud/CustomActionButton.cs index 4136e99..8e5815c 100644 --- a/MiraAPI/Hud/CustomActionButton.cs +++ b/MiraAPI/Hud/CustomActionButton.cs @@ -52,9 +52,9 @@ public abstract class CustomActionButton public virtual Color TextOutlineColor => Color.clear; /// - /// Gets the location of the button on the screen. + /// Gets or sets the location of the button on the screen. /// - public virtual ButtonLocation Location { get; private set; } = ButtonLocation.BottomLeft; + public virtual ButtonLocation Location { get; set; } = ButtonLocation.BottomLeft; /// /// Gets a value indicating whether the button has an effect ability. @@ -69,27 +69,27 @@ public abstract class CustomActionButton /// /// Gets or sets a value indicating whether the effect is currently active, if there is one. /// - public bool EffectActive { get; protected set; } + public bool EffectActive { get; set; } /// /// Gets or sets a value indicating whether the timer is currently active. /// - public bool TimerPaused { get; protected set; } + public bool TimerPaused { get; set; } /// /// Gets or sets the amount of uses left. /// - public int UsesLeft { get; protected set; } + public int UsesLeft { get; set; } /// /// Gets or sets the timer variable to measure cooldowns and effects. /// - public float Timer { get; protected set; } + public float Timer { get; set; } /// - /// Gets the button object in game. This is created by Mira API automatically. + /// Gets or sets the button object in game. This is created by Mira API automatically. /// - protected ActionButton? Button { get; private set; } + public ActionButton? Button { get; set; } /// /// The method used to create the button. @@ -463,7 +463,7 @@ public abstract class CustomActionButton : CustomActionButton where T : MonoB /// /// Gets or sets the target object of the button. /// - public T? Target { get; protected set; } + public T? Target { get; set; } /// /// Gets the distance the player must be from the target object to use the button.