Christopher
501cb34247
Refactored LuaEnvironment to use ILuaEnvironment interface
8 years ago
Christopher
ce92029918
Refactored comments
8 years ago
Christopher
f130385f6f
Changed comment style on header block
8 years ago
Christopher
f94e46e42d
Refactored narrative comments
8 years ago
Christopher
9ead74d659
Refactored Narrative scripts to use protected fields with public property accessors
8 years ago
Christopher
5f397982f7
Use protected serialised fields
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
689928a23d
Force MenuDialog to become active when using AddOption from Lua.
8 years ago
Christopher
239bf8fefe
Converted tabs to spaces in all .cs files
8 years ago
Christopher
9c967aaf84
Fixed for Unity 5.0
8 years ago
Christopher
b81b120e42
Flowchart automatically registers with LuaEnvironment for ExecuteLua commands #485
8 years ago
Christopher
79081ed3b8
Fixed Menu() Lua function only works once #511
8 years ago
Christopher
67adbab9a0
Added open source license header to all source files
9 years ago
Christopher
00d3462c36
Improved source code display on Lua script errors
9 years ago
Chris Gregan
204ce467d8
Use Lua text file in ExecuteLua command
9 years ago
chrisgregan
fc0dde1d05
Tidied up ExecuteLua initialisation
9 years ago
chrisgregan
51c1d93acb
Move dependent files into Fungus folder
9 years ago
chrisgregan
f29d89ad47
Moved all Lua code to FungusLua top level folder
9 years ago
chrisgregan
55a261b6ac
Fungus table is deleted when in globals mode
9 years ago
chrisgregan
e1ef439dfa
Fungus module uses M local instead of fungus identifier
9 years ago
chrisgregan
da0a6fcf0a
Use fungus helper methods as globals or under 'fungus' global.
9 years ago
chrisgregan
a66c1a3f3d
Improved how fungus lua module is initialized
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
a7064c455e
Combine the unity table with the fungus table
9 years ago
chrisgregan
cf589b2475
Moved stringtable to unity table
9 years ago
chrisgregan
b054107a1b
Create SayDialog and MenuDialog is none exists yet
9 years ago
chrisgregan
b71e2674f8
Added Spawn method for spawning a game object from a resource
9 years ago
chrisgregan
b4b62f22cf
Exposed common GameObject methods like Find, Instantiate, Destroy
9 years ago
chrisgregan
762d1f8a81
Added LuaStore component and prefab to persist values across scene loads
9 years ago
chrisgregan
8d5fedd699
Renamed fungus.fungusprefs to fungus.prefs
9 years ago
chrisgregan
708cc3ea48
Fixed inconsistent case
9 years ago
chrisgregan
28469a9119
Display line numbers in Lua error messages
9 years ago
chrisgregan
21c4682edf
Moved files from under Lua/Thirdparty to main Thirdparty folder
9 years ago
chrisgregan
a6ea00536b
Added abstract Initialiser class for extending initialisation behavior
9 years ago
chrisgregan
77504aa59d
Split LuaEnvironment into LuaEnvironment & LuaUtils components
9 years ago
chrisgregan
39c0bb7236
Added Register Types label in LuaEnvironment inspector
9 years ago
chrisgregan
efd04a8378
Added Register Types option in Lua Bindings component
9 years ago
chrisgregan
a5f733b3f5
Rename Lua component to LuaEnvironment
9 years ago
chrisgregan
882b6ef65e
Renamed RunLua to LuaScript
9 years ago
chrisgregan
1ae1c4bd1d
Renamed FungusScript to Lua
...
If no Lua component exists in the scene then spawn one from the prefab.
9 years ago