Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YoButton

A sleek alternative to Unity buttons with built-in effects and theming.

Features

  • Easy to Use – Just add the YoButton component to any Image object.
  • Customizable – Adjust colors, effects, and animations directly from the Inspector.
  • Responsive – Built-in feedback for hover, press, and selection states.
  • Theming Support – Integrates easily with your custom UI themes.
  • Events – Built-in UnityEvents for click, hover, and selection.

Getting Started

  1. Import the YoButton package into your Unity project.

  2. Add the YoButton component to any object with an Image.

  3. Customize the button through the Inspector:

    • Graphic Target: Assign the target image for visual updates.

    • Leave empty to use the object's default graphic.

      Settings

    • Theme Type:

      • Default: Uses the standard built-in style.
      • Manager Feed: (Coming soon)
      • Custom: Assign a custom ThemeData ScriptableObject. Theme
    • Add Effects for each interaction:

      • Hover Effect: Triggered on pointer enter.
      • Click Effect: Triggered on click.
      • Selected Effect: Triggered when selected.

      Each effect supports:

      • Color Change – Changes button color.
      • Scale Animation – Resizes on interaction.
      • (More effects coming soon)

      Effects

    • Subscribe to the button's UnityEvents as needed.

      Events

  4. Enjoy a modern, responsive button in your Unity UI!

About

A sleek alternative to Unity buttons with built-in effects and theming.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages