chrisgregan
d17900d7f3
Pre compile Lua script on startup for fast execution
9 years ago
chrisgregan
0177c26a6d
Added StopBlock command
9 years ago
chrisgregan
2914472dda
Refactored LuaScript
...
ExecuteHandler is now a separate component.
Will call any OnExecute method in the game object when executing.
9 years ago
chrisgregan
eccd1fecf5
Change type registration to use JSON
9 years ago
chrisgregan
6430399365
Moved FungusLua under Fungus folder
9 years ago
chrisgregan
22e733055e
Draggable sprite anchors at exact point user clicked
9 years ago
chrisgregan
841943490f
SetDraggable2D filename matches class
9 years ago
chrisgregan
3f9162eb13
Fix API change for OnLevelWasLoaded() event
9 years ago
chrisgregan
4fddc9e420
Replaced serialisation callback due to threading warning
9 years ago
chrisgregan
6e8baa5ecd
Fix Unity Test Tools warnings
9 years ago
chrisgregan
a9b88e1003
Handle the case where an extension type starts with E:
9 years ago
chrisgregan
ccb8dc08ff
Removed unused using Rotorz.ReorderableList
9 years ago
chrisgregan
1bd0521db5
Avoid type registration warnings when Fungus is not installed
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
chrisgregan
e60488bc5b
Single file for registering types in text file
9 years ago
chrisgregan
03d207423c
Register bound types automatically
9 years ago
chrisgregan
9b08a656df
Added LuaBindingsBase to implement custom binding systems
9 years ago
chrisgregan
64ec4b21f8
Renamed game object to RunLua
9 years ago
chrisgregan
84a1f010bf
Renamed FungusInvoke to RunLua
9 years ago
chrisgregan
8fbc1b08d6
Rename non-coroutine Execute to StartExecute to be more descriptive
...
Lua scripts should use the coroutine Execute method directly.
9 years ago
chrisgregan
581f9ce171
Move TaskManager to Fungus namespace
9 years ago
chrisgregan
a21891c3c8
Register DummyCollection class with MoonSharp in Awake()
9 years ago
chrisgregan
62f0b0e34f
Moved ExecuteLua to Scripting command group
9 years ago
chrisgregan
c62f4a29a2
Fixed menu buttons not executing target block
9 years ago
chrisgregan
baf1e90d5c
Fixed c# lists and dictionaries not auto-converting to Lua tables
9 years ago
chrisgregan
ee3533ba6d
Type factory class for constructing POD types like Color
...
MoonSharp’s __new function appears to be unreliable for POD types like
Color, Vector2, etc. This class provides simple factory methods for
constructing these types, which are then exposed through unity.factory
in Lua.
9 years ago
chrisgregan
887bc54e92
Explicitly register types via text file list
9 years ago