Provide a setter to activate/deactivate one or more game objects and deactivate/activate others
Issue #72
resolved
From the forum: https://forum.unity.com/threads/released-data-bind-for-unity.298471/page-5#post-3385810
Is it possible to implement a setter which combines ActiveSetters and InvertBoolOperation in the next version? There would be three inputs - boolean, SetActiveWhenTrue and SetActiveWhenFalse. It would behave like the attached image: The best option would be, if multiple GameObjects might be activated or deactivated when True/False, but event the single True/False gameobject would help me a lot. Thanks
Comments (2)
-
reporter -
reporter - changed status to resolved
Added a GameObjectActiveSwitch which activates one game object when a boolean provider is true, otherwise activates a second game object and vice versa
- Log in to comment
Maybe something like an ActiveSwitch that behaves a bit like a BooleanSwitch, but immediately activates/deactivates game objects based on a boolean value.