A set of standard event scripts and useful links
Download the latest release of this package.
Unzip the file and import the packages into your Unity project.
When the 'Current Count' varible is equal to or greater than the 'Needed Amount', the counter event onComplete will be called. To add progress, call the 'Add' function in this script and fill in the amount you wish to add in the parameters field.
The onDelayedEvent is called after a set amount of time. This can be called in two ways. You can set the 'Start Event On Play' to immeditaely call the delayed event when this object begins its instance. Set the 'Default Delay Time' to the time you wish to wait. Or you may call the 'StartDelayEvent' and put a float variable in its parameters.
The Game Event is a go between asset between an object that will call the event and the listeners that are waiting for the event to be raised. Set the name of the Game Event to a description of the event. Something like "PlayerDied"
This is an implementation of Ryan Hipples scrtipable object event system. Find out about it here.
The listener is a component that waits for a specific Game Event to be raised (called).
These events are the three that begin at the start of an objects life. On Awake is the first event that is called before any Start or Update function. Use this one to set first settings.
On Start is called after this.
On Enabled is called anytime an objects is set to active.






