• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.
Actions Toggle

Plugins + Scripts Actions Toggle

Download [<1 MB]
Description

This is a mini logic brick that fires actions based on a toggle value and\or toggle value change.

Standard VAM toggles (like UIToggle atom) only allow you to set a value of another toggle but, what if you want to trigger actions based on the value of a toggle? This plugin is exactly for this.

Maybe there are other ways to achieve the same result but I made this because I'm too stupid to figure out how.


NOTE: The plugin is not intended to be used ONLY with UIToggles. It have it's own toggle value.



Always thanks @MacGruber for his essential Utils collection of Unity functions.

Images and attachments
  • Voithe_ActionsToggle_V1_1ss.jpg
    Voithe_ActionsToggle_V1_1ss.jpg
    485.5 KB · Views: 0
React to this content...

Share this resource

Latest updates

  1. HUB Release 2 - Plugin version 1.1

    - Added "On Change Actions" (fired every time the toggle change). - Added "Actions Toggle -...

Latest reviews

Positive
Version: 1
Posted:
Thanks a lot. I have troubled with hiding some ui elements because of missing toggleon/toggleoff feature...
Voithe
Voithe
Yeah... I also had trouble in the past for the leak of this feature. At that time I wasn't able to write plugins... so, I thought it could be a good idea to release this.

Thanks for your feedback! ;)
Upvote 0
Back
Top Bottom