Invoke Method supports calling coroutine functions with the option to
stop or wait until the coroutine exits before continuing with the next
command. This conflicts with the concept of delaying invocation of the
method until later and continuing immediately. Rather than have a hard
to understand interaction it’s better to just let users add a Wait
command before Invoke Command when they want to introduce a delay.
Commands typically become null in the command list when there’s been a
change to a command script (e.g. upgrading to a new version of Fungus).
It’s better to just ignore this rather than cause a null exception.
Renamed Invoke to Invoke Event (uses EventSystem).
Added Invoke Method command contributed by bigdiddy on forum.
Made some minor changes to contrbuted code:
1. Show Inherited is now on it’s own line in inspector
2. Removed Init on Awake option - always inits on awake
3. Added a Delay property to be consistent with Invoke Event command
Added an integration test for both Invoke Event and Invoke Method
Changed the Block and Command classes to use a simple execution loop
inside a coroutine.
The Call command now has a ‘Stop Parent Block’ parameter for when you
want to continue executing the current block after a Call command.