com.iron-mountain.juicy-buttons
v1.0.2
Published
Adds all of the missing events to buttons, allowing deeper customization options.
Downloads
171
Readme
Juicy Buttons
Version: 1.0.2
Description:
Adds all of the missing events to buttons, allowing deeper customization options.
Use Cases:
- Button sound effects
- Button scale animations
- Button 3D effects
- Button alpha effects
- Button text font style effects
Package Mirrors:
Key Scripts & Components:
- public class JuicyButton : Button
- Actions:
- public event Action OnPointerDownEvent
- public event Action OnPointerUpEvent
- public event Action OnPointerEnterEvent
- public event Action OnPointerExitEvent
- public event Action OnPointerClickEvent
- public event Action OnInteractableChanged
- public event Action OnSelectionStateChanged
- Properties:
- public Boolean Interactable { get; set; }
- public JuicySelectionState CurrentSelectionState { get; }
- Methods:
- public override void OnPointerDown(PointerEventData eventData)
- public override void OnPointerUp(PointerEventData eventData)
- public override void OnPointerEnter(PointerEventData eventData)
- public override void OnPointerExit(PointerEventData eventData)
- public override void OnPointerClick(PointerEventData eventData)
- Actions:
- public class JuicyButton3DEffect : MonoBehaviour
- public class JuicyButtonAlphaEffect : MonoBehaviour
- public class JuicyButtonFontStyleEffect : MonoBehaviour
- public class JuicyButtonGraphicColorEffect : MonoBehaviour
- public class JuicyButtonSFX : MonoBehaviour
- public class JuicyButtonScaleEffect : MonoBehaviour
- public enum JuicySelectionState : Enum