chrisgregan
295411ae9e
Fixed #45 by merging branch 'Exort-develop'
10 years ago
chrisgregan
dfd79d94a4
Display error icon on right hand side of command
10 years ago
chrisgregan
1f6b78af2e
Improved layout of command list
...
Make better use of space and reduce visual clutter. Note command
comments take up full line and don’t have a button background.
10 years ago
chrisgregan
7c388a01cf
Reverted sequence node style change
10 years ago
chrisgregan
aa23e882fa
Hide script field for commands in inspector.
...
This fixes an issue where the user could change the type of script
being used for a command which would trigger a bunch of null exception
errors (because the commandList might now contain a null entry).
10 years ago
chrisgregan
c653ceda08
Fixed adding new commands to legacy sequence objects
10 years ago
chrisgregan
5523ee4ef4
Changed sequence node style (smaller and stands out more)
10 years ago
chrisgregan
4ac98e3f1d
Click outside node to deselect
10 years ago
chrisgregan
2033384566
Position new sequence nodes in centre of script view
10 years ago
chrisgregan
29d6475902
Create Sequence adds to right side of selected Sequence
10 years ago
chrisgregan
dc1658b152
FungusScript can now be made into a prefab (see notes!)
...
All sequence and command components are now added to the main
FungusScript object. This change enables you to make a prefab out of
any FungusScript. FungusScript prefabs can now be edited using the
Fungus Script window. You still need to instantiate a Fungus Script
prefab in order to run it.
10 years ago
chrisgregan
8a7a1a2ffa
Added GameObject menu items for Dialog prefabs
10 years ago
chrisgregan
7f5ed8e0cf
Copy and paste support for commands
10 years ago
chrisgregan
597aec7d94
Added SendEvent command (commented out due to Unity bug)
10 years ago
chrisgregan
53d2fd1aab
Added protected & virtual to core classes for easier inheritance
10 years ago
chrisgregan
7aed9a01ff
Refactored FungusScript advanced settings
10 years ago
chrisgregan
230db13b76
Select sequence when adding new Fungus Script
10 years ago
chrisgregan
c55abe99fe
Documented Fungus Script class
10 years ago
chrisgregan
7d58682d21
Made min command view width wider
10 years ago
chrisgregan
b63a9ce3b9
Simplified adding new commands. Added Note command.
10 years ago
chrisgregan
408809b9e8
New commands are automatically selected
10 years ago
chrisgregan
a25b61fc0d
Fixed memory leak and null exception errors
10 years ago
chrisgregan
618d34c91c
Reverted sequence to use game object name. Added Fungus Script menu item
10 years ago
chrisgregan
84447e6d7b
Don't render connected sequences in other fungus scripts
10 years ago
chrisgregan
d050126edd
Renamed hideSequenceObjects to showSequenceObjects
10 years ago
chrisgregan
f570e9ab79
Added hideSequenceObjects flag
10 years ago
chrisgregan
c6c82dbb44
Reverted variables back to MonoBehavior
10 years ago
chrisgregan
2b6fe13072
Added null pointer checks and fixed sequence name picking
10 years ago
chrisgregan
e968bfd507
Refactored GetFungusScript() and GetSequence()
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
33397f004f
Converted FungusVariableListAdapter to use SerializedProperty
10 years ago
chrisgregan
c8c2846808
Updated Sequence editor to use serialised property
10 years ago
chrisgregan
b547553c20
Converted SetVariable and If to use serialized property
10 years ago
chrisgregan
99a0fd5d6d
Changed dialog command to use serializedProperty
10 years ago
chrisgregan
2279376b27
Converted SequenceField to use SerializedProperty
10 years ago
chrisgregan
29898ed586
Renamed Set to SetVariable, improved color
10 years ago
chrisgregan
996a33292e
Min command button width = 100
10 years ago
chrisgregan
3961d6953f
Lock button for Fungus Script window. Fungus script icon.
10 years ago
chrisgregan
97827c37cb
Added option to disable command colours
10 years ago
chrisgregan
b799534f9e
Enable / disable commands by clicking button in inspector
10 years ago
chrisgregan
db928d3a33
Command colours are specified in a virtual function
10 years ago
chrisgregan
1e497cd355
Changed colour for If, Else, EndIf commands.
10 years ago
chrisgregan
0b7f4b69b1
Improved style of command inspector title bar
10 years ago
chrisgregan
6f8649f758
Green bar behind command inspector title
10 years ago
chrisgregan
afd56a0fb3
Render error text in white for better contrast
10 years ago
chrisgregan
51dbff331f
Disable selecting sequence when game is playing
10 years ago
chrisgregan
876c1e304a
Highlight active variable in green.
10 years ago