chrisgregan
86d6919540
Removed Say command from Flowchart prefab
9 years ago
chrisgregan
00b6b910bc
Fixed logic for setting GameStarted block in new Flowcharts
...
Also added safety cleanup code to remove null items in variable list in
cleanup.
9 years ago
chrisgregan
ae740187e8
Updated Flowchart prefab
9 years ago
chrisgregan
69dbc5d019
Fixed Flowchart objects break when made into a prefab #275
9 years ago
chrisgregan
d8539c90ef
Fixed: Null variable reference when substituting variables #278
9 years ago
chrisgregan
929b56ea90
Added StopFlowchart command
9 years ago
chrisgregan
b14da8fcda
Added Flowchart.StopAllBlocks() and command callback
9 years ago
chrisgregan
e2b7c542e9
Fixed: Null reference error after editing Flowchart code #181
9 years ago
chrisgregan
3cb52dfab4
Added a Hide Commands property to Flowchart
...
Any command or category name that matches an item in the list will not
appear in the add command menu.
9 years ago
chrisgregan
d7a646c319
Fixed: Undo for delete command is broken #161
9 years ago
chrisgregan
9304dc54ac
Can filter the list of supported commands by subclassing Flowchart
9 years ago
chrisgregan
f4654e265d
Added test for Save Variable / Load Variable
...
Added FailTest and PassTest commands
9 years ago
chrisgregan
28d53f5576
DrawEventHandlerGUI is now virtual
9 years ago
chrisgregan
ce69debb61
Added Create > Fungus Logo menu option
...
Fixed spawned objects not centering in scene view
9 years ago
chrisgregan
53496ea554
Fixed: Copy / paste causes Block inspector to reset height #145
9 years ago
chrisgregan
e27753a668
Spawn Event System from Flowchart instead of Menu command
...
Event System is now required by dialog click input
9 years ago
chrisgregan
34b269bd0f
Removed delay property from Invoke Method
...
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.
9 years ago
chrisgregan
d6f057c98c
Refactored localisation system to use ILocalizable interface
...
You can now add custom commands that work with the localisation system
by implementing the ILocalizable interface.
9 years ago
chrisgregan
784d75a883
Get Text and Set Text now work on any text object
...
including UI text, UI input fields & 3D text mesh
9 years ago
chrisgregan
f91d12ba4b
Added NullTargetCheck() to catch cases of orphaned command editors
9 years ago
chrisgregan
c2fd41f25a
Fix for intermittent null reference error from custom editors
...
Made cache into a static list so it persists between serialization /
deserialization. This should guarantee that every editor that gets
created gets destroyed later.
9 years ago
chrisgregan
3de9f1eeb2
Ignore null commands in command list
...
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.
9 years ago
chrisgregan
2997b0fdd8
Fixed: Duplicate block does not do a deep copy #129
9 years ago
chrisgregan
550f5857f5
Invoke Event and Invoke Method commands
...
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
9 years ago
chrisgregan
e0e1fbf4ae
Fix for intermittent error message in command editor OnEnable
9 years ago
chrisgregan
35519cf2f6
Upgraded to Unity 5.1.2f
9 years ago
chrisgregan
9a066b366f
Explicitly flag command properties as reorderable lists
9 years ago
chrisgregan
14226652dc
Invoke command - call methods with parameters.
9 years ago
chrisgregan
74483ec24a
Display UnityEvent properties
...
CommandEditors are now only created / destroyed when needed instead of
every frame (much more efficient too).
Workarounds for compatibility issues with ReorderableList and
UnityEvent rendering. Selection rectangle now obscures the built-in
grabber on reorderable list and shift selection changes now happen on
next frame instead of immediately.
As a side effect, the shift selection logic is now more straightforward.
9 years ago
chrisgregan
f25bddf920
Updated meta file for combo box
9 years ago
chrisgregan
972e69cda4
Use reorderable list for all lists & arrays in command inspector
...
Added overridable IsPropertyVisible() method to hide specific
properties as needed.
9 years ago
chrisgregan
b708320e63
Deferred Block action list is now public
...
Call Event.current.Use(); to a) stop anything else handling the click
and b) tell the editor window to refresh.
9 years ago
chrisgregan
bf8c1abecb
Fixed editing multiline command properties in block inspector.
9 years ago
chrisgregan
36cfc04dab
Added constructors and implicit operators for all variable types
...
Assign default values to public variable properties and access variable
values directly without using .Value accessor.
9 years ago
chrisgregan
4f9ac78c6c
SetActive command shows state in summary
9 years ago
chrisgregan
a88537c0f3
Tolerate null commands in command list
...
Should never happen, but if it does just ignore it and carry on.
9 years ago
chrisgregan
36aab4045e
Removed unused SendEventEditor class
9 years ago
Brian Dean Jennings
ed82fcba7d
Fixed bug in initialize system
9 years ago
Brian Dean Jennings
0a0d53284d
Additional flowcharts added to the scene no longer have their initial block start with the default 'Game Started' event.
9 years ago
Brian Dean Jennings
8c5facccda
Support for Flowchart versioning and initialization
9 years ago
chrisgregan
8fb96dd47f
Compile errors when Fungus is used with Draw On Screen asset #120
10 years ago
chrisgregan
5d9353ea75
Fix null reference exception when spawning Fungus objects in Unity 5.1
10 years ago
chrisgregan
86040c9d4b
Added Quit command to quit application
...
https://trello.com/c/qIVLgrDx
10 years ago
chrisgregan
732fb8b8c5
Removed hide flags on line drawing material and shader #119
...
This was causing WebPlayer builds to fail.
10 years ago
chrisgregan
1b3b3caab4
Revert accidental add of using statement
10 years ago
chrisgregan
f3f60ccbff
Fixed line drawing class using obsolete material constructor #119
10 years ago
chrisgregan
001759ecbd
Changed small + button texture to GUI mode
10 years ago
chrisgregan
baecdbe2a8
Editor button textures now loaded in OnEnable()
10 years ago
chrisgregan
bcbbe814f1
Flowchart window graphics glitches on Unity 5.1 #118
10 years ago
chrisgregan
ccb6609879
Added delay property to Call Method command
...
https://trello.com/c/a333r2QA
10 years ago