Jorge Ramirez
60bfe84399
Add comparison and setting functionality for the Vector2 and Vector3 variables
7 years ago
Jorge Ramirez
57776a67da
Add comparison and setting functionality for the Transform variable
7 years ago
Jorge Ramirez
3035446336
Add comparison and setting functionality for the Texture variable
7 years ago
Jorge Ramirez
27b97990d6
Add comparison and setting functionality for the Sprite variable
7 years ago
Jorge Ramirez
041950b35f
Add comparison and setting functionality for the Rigidbody2D variable
7 years ago
Jorge Ramirez
7810fecbf9
Add comparison and setting functionality for the Object variable
7 years ago
Jorge Ramirez
e8a19dbcc5
Add comparison and setting functionality for the Material variable
7 years ago
Jorge Ramirez
acfba940a9
Add comparison and setting functionality for the Color variable
7 years ago
Jorge Ramirez
110c11f280
Add comparison and setting functionality for the AudioSource variable
7 years ago
Jorge Ramirez
88711d84a6
Add comparison and setting functionality for the Animator variable
7 years ago
Jorge Ramirez
c93f81a007
Refactor compare variable system and add comparison for GameObjects
...
The main point of this refactor is to make it easier to add variable comparison options
for new variables and to better match the set variable system.
7 years ago
Conrad Kreyling
a17cfe2aac
break conditionals out to allow for reused code in LuaIf
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
0effd7e7f3
Added #region Public members to all non-editor classes
8 years ago
Christopher
071fb7c345
Added Fungus.Commands, Fungus.EventHandlers, Fungus.Variables and Fungus.Utils namespaces
8 years ago
Christopher
0d33e6a026
Use concrete classes for Block and Command to ensure editor code is robust.
8 years ago
Christopher
6097c4ee1e
Refactored code to use ICommand interface where possible
8 years ago
Christopher
56e413a224
Reorganised Fungus folder structure
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
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
67adbab9a0
Added open source license header to all source files
9 years ago
chrisgregan
8286971205
Single line and multi-line StringData variants
9 years ago
chrisgregan
b14da8fcda
Added Flowchart.StopAllBlocks() and command callback
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
3b73d9563e
Removed obsolete commands and other dead code
10 years ago
chrisgregan
4cc04e5546
Added some missing command tooltips
10 years ago
chrisgregan
9c4a9ffa47
Reorganised scripting commands under scripting, flow and variables categories
10 years ago
chrisgregan
5a931441d4
Merge branch 'Rename-core-classes'
10 years ago
chrisgregan
b5ea08a4d2
Choose command that acts like a Switch statement #80
...
Deprecated old Choose & AddOption commands.
Replaced Choose command with ChooseOption (uses command name Choose
though).
Option command can be hidden once visited, or hidden by evaluating a
variable condition.
10 years ago
chrisgregan
f9f2b175bd
Improved Label & Jump commands in inspector #78
10 years ago
chrisgregan
b616f72548
Added Else If command #77
10 years ago
chrisgregan
d72f92b959
Changes to make it easier to add new conditional commands
10 years ago
chrisgregan
4ecee9c332
Improve efficiency of executing next command in a Sequence #76
...
Switched to use command indices instead of scanning the command list to
find the current command.
10 years ago
chrisgregan
ce9b6de524
Refactored command indenting control functions
10 years ago
chrisgregan
944ada64a1
Change #68 Replace Save/Load Globals with Save/Load Variable
...
Added custom property drawer for Variable properties.
Updated If, Set Variable, etc. to use new property drawer.
Added new Set Save Profile, Save Variable, Load Variable & Delete Save
Key commands.
10 years ago
chrisgregan
a5857c6abb
Change #72 Replace End If command with End command
10 years ago
chrisgregan
0803b8b73a
Fix #71 Hide Fungus commands, event handlers, etc. in Component menu
10 years ago
chrisgregan
e21ce0a0e0
Fix #67 Replaced global variables with public / private variables
...
Changed layout of Variables window to support editable value
Public variables in other FungusScripts appear in the variable picker
popup menu.
Variables now have a public value property and remember their starting
value for when they are reset.
Disabled LoadGlobals / SaveGlobals commands.
Changed all variable classes to use simple public value variable.
Added FungusScript.GetPublicVariables()
Deleted GlobalVariables class.
Added Variables test scene
10 years ago
chrisgregan
5f6ce88506
Reorganized Commands and EventHandlers under Scripts folders
10 years ago
chrisgregan
e7938219a4
Added tooltips for all Fungus command properties
10 years ago
chrisgregan
f4adbe631d
Fixed copy and paste bug with StringData, etc.
...
Changed these classes to structs instead of classes so they’d be copied
by value rather than by reference when pasting.
10 years ago
chrisgregan
4401060c61
Fix #46 - commands now store reference to their parent sequence
...
The reference to the parent sequence is only populate at runtime, so
don’t try to use it in custom editors, etc.
10 years ago
chrisgregan
e968bfd507
Refactored GetFungusScript() and GetSequence()
10 years ago
chrisgregan
95a5f79b9c
Renamed Fungus.Script namespace to Fungus
10 years ago
chrisgregan
64cf2c346e
Renamed FungusVariable to Variable
10 years ago
chrisgregan
62aaaf6011
Renamed FungusCommand to Command
10 years ago
chrisgregan
db928d3a33
Command colours are specified in a virtual function
10 years ago