Christopher
71c2b4e357
Added Game Loaded event handler and save key.
8 years ago
Zach Vinless
7445700fa4
Removed selectedBlock and changed multi-select editor message
...
-Removed selectedBlock and removed update code copying it into
selectedBlocks
-Changed BlockInspector display message when multiple blocks are
selected
8 years ago
Zach Vinless
3afcc68001
Added multi-select feature for blocks in flowchart window
...
-Added multi-select support via action key/shift+click and click+drag
-Block movement and context menu options now affect all selected blocks
-Flowchart’s SelectedBlock property now refers to the active selected
block rather than the sole selected block. It works similarly to
Unity’s Selection.activeObject
-Bumped flowchart version to 2 to upgrade previously serialized
selected blocks to new format (now a list of blocks rather than a
single block)
8 years ago
Christopher
16e4ba425f
Added accessors for GameObject and Transform variables in Flowchart.cs
8 years ago
Christopher
54395b6920
Added HasVariable() and GetVariableNames() - thanks murnyipl!
8 years ago
Christopher
1ba09f25e8
Converted (most) foreach to for statements. Avoids an allocation for the loop iterator.
8 years ago
Christopher
3510fc7f9a
Converted all foreach statement to act on simple variables.
8 years ago
Christopher
060b7b46a2
Reverted Fungus sub namespaces as they were breaking backwards compatibility. Kept the Fungus.EditorUtils namespace though as it doesn't affect compatibility.
8 years ago
Christopher
a550d29e10
Reverted IExecuteHandler, ILuaBindings and ILuaEnvironment interfaces
8 years ago
Christopher
253ac9ebc6
Renamed public methods to public members
8 years ago
Christopher
5053d2fc4a
Moved all public static methods to Public method region
8 years ago
Christopher
75f5b5217f
Reverted ICommand interface
8 years ago
Christopher
47f3e2f191
Reverted IFlowchart interface
8 years ago
Christopher
01feb27c61
Reverted IBlock interface
8 years ago
Christopher
0dc11902b1
Made Flowchart.OnLevelWasLoaded protected
8 years ago
Christopher
071fb7c345
Added Fungus.Commands, Fungus.EventHandlers, Fungus.Variables and Fungus.Utils namespaces
8 years ago
Christopher
245500fd25
Moved global constants to FungusConstants static class.
8 years ago
Christopher
9f5c726699
Grouped static members together
8 years ago
Christopher
13b3e31085
Moved Flowchart scripts into main Scripts folder
8 years ago
Christopher
0d33e6a026
Use concrete classes for Block and Command to ensure editor code is robust.
8 years ago
Christopher
43d59a8059
Using concrete Block class for safety with editor code
8 years ago
Christopher
04b56ab0c7
Refactored runtime code to use IFlowchart exclusively
8 years ago
Christopher
cdeab7b3a4
Refactored Flowchart to use IFlowchart interface
8 years ago
Christopher
5c8f5f4214
Fixed Flowchart component being hidden by accident.
8 years ago
Christopher
dc0ea43558
Refactored EventHandler to use IEventHandler
8 years ago
Christopher
6097c4ee1e
Refactored code to use ICommand interface where possible
8 years ago
Christopher
1cf014aa18
Refactored Block to use IBlock
8 years ago
Christopher
56e413a224
Reorganised Fungus folder structure
8 years ago
Christopher
49278bf84c
Refactored StringSubstituter to use IStringSubstituter interface
8 years ago
Christopher
501cb34247
Refactored LuaEnvironment to use ILuaEnvironment interface
8 years ago
Christopher
cc4406a8fb
Change all public properties to use virtual
8 years ago
Christopher
ce92029918
Refactored comments
8 years ago
Christopher
f130385f6f
Changed comment style on header block
8 years ago
Christopher
da678c640b
Refactored comments
8 years ago
Christopher
63dadcb457
Refactored Variable base class to use protected serialised value and public property accessor.
8 years ago
Christopher
83c12c7e76
Refactored many classes to use protected serialisable fields, with public property accessors where required.
8 years ago
Christopher
239bf8fefe
Converted tabs to spaces in all .cs files
8 years ago
Christopher
b81b120e42
Flowchart automatically registers with LuaEnvironment for ExecuteLua commands #485
8 years ago
Christopher
a806880acc
Fixed private Flowchart variables not substituting correctly
8 years ago
Christopher
be7109ba56
Removed redundant copyright notice
9 years ago
Christopher
67adbab9a0
Added open source license header to all source files
9 years ago
Christopher
4e68e8ff77
Updated copyright notice
9 years ago
Christopher
ee0711e8a1
Added code header about MIT license
9 years ago
Christopher
49cd02c20b
Fixed can't select ExecuteBlock from Unity Event #496
9 years ago
Christopher
0eac532b35
String substitution uses StringBuilder to avoid string allocations
9 years ago
Christopher
6a7878552e
Fixed Child Object gets deleted when having a flowchart on parent and child. #475
9 years ago
chrisgregan
3f9162eb13
Fix API change for OnLevelWasLoaded() event
9 years ago
chrisgregan
734ca8c870
Extensible string substitution system
...
String substitution now works for Fungus variables, localisation keys,
Lua global variables and string variable keys. The system can be easily
extended by implementing the ISubstitutionHandler interface.
9 years ago
chrisgregan
c0d1575f33
Added comment for new SetVariable method.
9 years ago
chrisgregan
62a1b8d40b
Added Show Line Numbers option to Flowchart
9 years ago