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 | 2 months ago | |
---|---|---|
.. | ||
Event Holders | 2 months ago | |
Events | 2 months ago | |
Example | 2 months ago | |
Inspector | 2 months ago | |
Misc | 2 months ago | |
Documentation.URL | 2 months ago | |
Documentation.URL.meta | 2 months ago | |
Event Holders.meta | 2 months ago | |
Events.meta | 2 months ago | |
Example.meta | 2 months ago | |
Inspector.meta | 2 months ago | |
Misc.meta | 2 months ago | |
Readme.txt | 2 months ago | |
Readme.txt.meta | 2 months ago | |
Support.URL | 2 months ago | |
Support.URL.meta | 2 months ago | |
UltEvents.asmdef | 2 months ago | |
UltEvents.asmdef.meta | 2 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 ////////////////////////////////////////////////////////////