Skip to content

This is a simple Unity package that extends the capabilities of the original Button

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

RenKOFFF/ExtendedButton

Repository files navigation

Extended Button

This is a simple Unity package that extends the capabilities of the original Button

example

Dependencies

Installation

  1. Install DOTween
  2. Import this from Unity Package Manager. You can download and import it from your hard drive, or link to it from github directly.
https://github.com/RenKOFFF/ExtendedButton.git

How to use

  1. You can replace a regular Button with an ExtendedButton without losing serialized fields by calling the "Replace to ExtendedButton" method from the Button context menu
  2. After adding the Extended Button component, you can use it like a regular button and, since it inherits from Button, you can use all the original methods and fields.
  3. Use the Transitions field to configure the transformation logic.
    • Existing transitions:
      • None - no transitions,
      • ImageColor,
      • ImageSize,
      • ImageSprite,
      • TextColor,
      • TextSize

Transitions can be combined with each other in any desired way

Other Information

  • The Transition field has been replaced with Transitions and now the original field is not used and is hidden from the editor as unnecessary.
  • Navigation block is cut out and not used.
  • If you use a TextColor transition, the component will automatically assign a white color to the TextMeshPro element. Be careful.

About

This is a simple Unity package that extends the capabilities of the original Button

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages