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
c48572bee8
Added integration test for Set Sprite Order command
9 years ago
chrisgregan
354eb90035
Reorganised Tests folder to share assets between tests
9 years ago
chrisgregan
3b98187975
Updated MenuEditor to display intractable property
9 years ago
chrisgregan
1a1f8bca19
Added Set Sprite Order command
...
https://trello.com/c/5yZ88Rh0
9 years ago
chrisgregan
04aec28426
Added interactable property to Menu command
...
Allows you to add Menu options that are not selectable by the user
(e.g. they option is not available yet).
https://trello.com/c/bFjmGfBc
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
2461a5e686
Added attribution to thenounproject.com for mouse pointers
9 years ago
chrisgregan
407d13f4ca
Added Set Mouse Cursor command and drag and drop support
9 years ago
chrisgregan
ddf340ec1f
Fixed Event System not created after Load Scene #121
9 years ago
chrisgregan
60fbcef87a
Fixed voice over audio only works every second time #126
9 years ago
chrisgregan
e0e1fbf4ae
Fix for intermittent error message in command editor OnEnable
9 years ago
chrisgregan
1492ef08e3
Updated portrait test to use modified Stage prefab
9 years ago
chrisgregan
bebefea7fb
Updated stage prefab
9 years ago
chrisgregan
d71df99c2a
Fixed moving and fading portraits at the same time
9 years ago
chrisgregan
84ceca1b5f
Added integration tests for Stage & Portrait system
9 years ago
chrisgregan
f8aa36170e
Fixed: Character portrait images have display artefacts #92
...
Changed MoveSpeed to MoveDuration (more robust)
Replaced cross fade material with simple image tweening system.
Stage Show / Hide now done by tweeting the CanvasGroup alpha.
WaitUntilFinished option now works robustly (using a Coroutine).
9 years ago
chrisgregan
a84706f2e1
Added Unity Test Tools asset
...
The test framework and tests will not be included in the published
Fungus unitypackage.
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
294b1dd412
Updated tag help
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
c66d29b3be
Added ComboBox to Thirdparty folder
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
3adb4bd7a6
Removed accidentally committed debug log
10 years ago
chrisgregan
40f2c61a85
Added Fullscreen command
...
https://trello.com/c/aA5GQlua
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
ffa591f726
Fix for compile error on Unity 5_0
10 years ago
chrisgregan
1b3b3caab4
Revert accidental add of using statement
10 years ago
chrisgregan
58f57907db
Fixed warning in Usfxr editor window
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