You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18b7134d2c | 3 months ago | |
---|---|---|
.. | ||
Event Holders | 3 months ago | |
Events | 3 months ago | |
Example | 3 months ago | |
Inspector | 3 months ago | |
Misc | 3 months ago | |
Documentation.URL | 3 months ago | |
Documentation.URL.meta | 3 months ago | |
Event Holders.meta | 3 months ago | |
Events.meta | 3 months ago | |
Example.meta | 3 months ago | |
Inspector.meta | 3 months ago | |
Misc.meta | 3 months ago | |
Readme.txt | 3 months ago | |
Readme.txt.meta | 3 months ago | |
Support.URL | 3 months ago | |
Support.URL.meta | 3 months ago | |
UltEvents.asmdef | 3 months ago | |
UltEvents.asmdef.meta | 3 months ago |
Readme.txt
//////////////////////////////////////////////////////////// // UltEvents // Quick Start // //////////////////////////////////////////////////////////// [SerializeField] private UltEvents.UltEvent _MyEvent; 1. To create an UltEvent: declare a serialized field in your script as shown above. 2. Once you have declared your event it will show up in the Inspector for your script like a regular field so you can configure it to run code. 3. To trigger the execution of the event, simply call _MyEvent.Invoke(). - There are also various Premade Event Scripts which expose MonoBehaviour events like Awake, Update, etc. - A scene with some example events can be found in Assets/Plugins/UltEvents/Example. - You can safely move this plugin anywhere in your project. //////////////////////////////////////////////////////////// The full documentation is available at https://kybernetik.com.au/ultevents ////////////////////////////////////////////////////////////