Christopher
2ad74b1319
Initial integration tests for conversation feature
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
ecbfd4a16b
Fixed menu test
9 years ago
Christopher
deeb5259e6
Fixed Fungus Lua setcharacter bug #503
9 years ago
Christopher
3dc0be1b62
Fixed jump command properties incorrect when block duplicated #504
9 years ago
Christopher
67adbab9a0
Added open source license header to all source files
9 years ago
Christopher
a0b11e074b
Merging PR #490
9 years ago
Christopher
ec98822857
Fixed menu() Lua command interactable param has no effect #493
9 years ago
Christopher
49cd02c20b
Fixed can't select ExecuteBlock from Unity Event #496
9 years ago
Christopher
0eac532b35
String substitution uses StringBuilder to avoid string allocations
9 years ago
Christopher
925c2e2799
Embed string substitution keys in substitution text #488
9 years ago
Chris Gregan
f487de69bd
Added Command Index property to Call command
9 years ago
Chris Gregan
36a646c5b8
runblock() Lua function takes an optional command index
9 years ago
Chris Gregan
cff0a2c60a
Fixed control volume bug #464
9 years ago
Chris Gregan
204ce467d8
Use Lua text file in ExecuteLua command
9 years ago
Chris Gregan
d71b5d1ee7
Added getvar() for getting a variable from a flowchart
9 years ago
chrisgregan
b660db2273
Changed format of string tables to JSON
9 years ago
chrisgregan
654b96e298
Fixed string substitution integration tests
9 years ago
chrisgregan
d7f6ef7b91
Fix Unity Test Tools to run in 5.0
9 years ago
chrisgregan
6e4e392375
Contents of Lua Script string appended to Lua File contents
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
51c1d93acb
Move dependent files into Fungus folder
9 years ago
chrisgregan
55a261b6ac
Fungus table is deleted when in globals mode
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
28469a9119
Display line numbers in Lua error messages
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
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
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
a21891c3c8
Register DummyCollection class with MoonSharp in Awake()
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
chrisgregan
c4e7e0237f
Renamed FungusBindings to LuaBindings
9 years ago