Closed johngreedjr closed 6 years ago
This functionality is already supported by allow triggers to fire multiple times, however there is no implementation for unlimited uses (just a very large number, probably MAX_INTEGER
).
I think this ticket should be used for fleshing this functionality out per our conversation.
Some of the feature improvements we talked about were:
https://answers.unity.com/questions/192895/hideshow-properties-dynamically-in-inspector.html
Make an issue that considers using this concept for when IsToggle
is set by the editor thingy
Done Triggers can be fired unlimitedly, or respect a max fire count on the Trigger object side
Additionally, HideableContainer
can start in a Show
state where all the child GameObjects are shown instead of hidden by default.
A container or some other element for firing multiple Triggerables from a single Trigger, or a way to include multiple triggers on the Trigger component UI
will allow having one trigger toggle off multiple HideableContainers to emulate the effect that is lost by forcing all of the IHideable children to be explicitly hidden or shown with the changes in ea75ed1
Closing because the spirit of this issue is complete, moved the multi-trigger functionality to a new ticket.
Right now the trigger blocks can make an event happen once but not toggle it. Provide both options.