'How to use "Event_Controller"' (Ver.3.0)

Please feel free to contact me if you have any questions.
shopmaster@chobi-glass.com
http://chobi-glass.com/Unity/index.html



*** Outline ***

In the demo scenes, all the tanks are spawned in the runtime by "Event_Controller_CS" script in each object.
Also the messages, the reinforcements and the artillery fire in the scenes are controlled by this script.

The event script has three kinds of Triggers.


And the event script is able to generate six kinds of Events.

Also the event script is able to remove or enable other event scripts with the event.



*** How to set the Triggers ***

At first, choose the "Trigger Type", and set the following settings.


(Note.)
The triggers are sleeping while the event script is disabled, and they awake when the event script is enabled.
In the demo scenes, some of the event scripts are disabled from the beginning, and they are enabled by other event scripts in the runtime.



"Timer"


"Destroy"


"Trigger Collider"




*** How to set the Events ***

At first, choose the "Event Type", and set the following settings.


"Spawn Tank"


"Show Message"


"Change AI Settings"


"Remove Tank"


"Artillery Fire"


"Destroy Tank"


"Other Event Settings"

The event script is able to remove or enable other event scripts with the event.