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
chrisgregan
f7ac1c45a5
Flowchart.Execute block can't be used with UI events #112
...
Changed ExecuteBlock to return void.
Added Flowchart.FindBlock so you can check if a Block is executing
before you try to execute it.
10 years ago
chrisgregan
0f3f580c6f
Improved layout of Flowchart name and description
...
https://trello.com/c/vwnzaOh2
10 years ago
chrisgregan
fbb11fbda4
Cleanup unreferenced Fungus components on enabled
10 years ago
chrisgregan
412341ff63
Block & command item ids can sometime conflict #110
10 years ago
chrisgregan
59124b6022
Block & command item ids can sometime conflict #110
10 years ago
chrisgregan
3b73d9563e
Removed obsolete commands and other dead code
10 years ago
chrisgregan
af9317c17f
Updated Reorderable List control to latest version
10 years ago
chrisgregan
3d6734c759
Variable substitution now also checks public variables
...
Also fixed a bug where only the first variable token in the string was
being replaced.
10 years ago
chrisgregan
1de742cbb4
Spawn narrative prefabs at 0,0,0 by default #106
10 years ago
chrisgregan
2bf17e6920
Add disclosure rectangle on Variables panel #104
10 years ago
chrisgregan
b8db7c6311
Description of Call command is out of date #103
10 years ago
chrisgregan
6e4f22f421
Localization id should default to use Flowchart object name #101
10 years ago
chrisgregan
252d306d5b
Improved readability of Event Handler block info
10 years ago
chrisgregan
1d42169002
Deleted unused SendEvent class
...
Not needed anyway with the new Call Method command.
10 years ago
chrisgregan
107f4f4756
Added Set Text and Get Text commands
...
Set and get text property from a UI text object.
10 years ago