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
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
8ddd25e728
Show boolean variable state as True / False instead of toggle
10 years ago
chrisgregan
53d2fd1aab
Added protected & virtual to core classes for easier inheritance
10 years ago
chrisgregan
3fd20ed105
Variables are now ScriptableObjects instead of MonoBehaviors
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
b547553c20
Converted SetVariable and If to use serialized property
10 years ago
chrisgregan
e6b845a99f
Fungus2 code reorg
10 years ago
chrisgregan
9f06860183
Variables are now displayed in Reorderable List
10 years ago
chrisgregan
d4705b257e
Added custom variable list control
10 years ago
chrisgregan
2aed71ae47
Removed ability to change variable type
10 years ago
chrisgregan
97caa580a1
Added old variables list back
10 years ago
chrisgregan
80949c4d19
Added property drawers for BooleanData, IntegerData, etc.
10 years ago
chrisgregan
f2be7f774b
Added buttons to create and delete variables.
10 years ago
chrisgregan
239b9e7416
Pick variable or constant value
10 years ago
chrisgregan
8b90d0c301
Custom editor for FungusVariables
10 years ago