Search
Light Mode
Contact Us

Contact us

No results for your search.
Sorry, an unexpected error occurred


Apart from UIEventsSelector you can also add UIStylesCallbackCreator (located at UI Toolkit -> UI Styles Callback Creator) to your game object containing UI Document to define sets of callbacks intended to manipulate style properties of your Visual Tree Asset.


Now add a new callback, provide a name for it and select target element or build a query, just like you did with events.


You can add as many targets and methods to a single callback as you want.


In order to execute given callback add it as listener to any UnityEvent and provide callback name as a string parameter.


Created with Notice