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
chrisgregan
d7ff585059
Fixed command name spacing when line numbers shown
9 years ago
chrisgregan
56cd4b213c
Initial implementation of FungusScript Lua scripting
9 years ago
chrisgregan
e49f77d53f
Fixed invoke test scene
9 years ago
chrisgregan
fbecad8df8
Fixed line endings on InvokeMethod classes
9 years ago
Timothy Ng
dc069367ed
Refactored Flowchart.cs to use the more general GetVariable method
9 years ago
Timothy Ng
3af0a9faa2
Command List now displays line numbers
9 years ago
chrisgregan
5eee50529b
Added Play Animation State command #378
9 years ago
chrisgregan
d581da1a74
Added test for stop audio Say option
9 years ago
chrisgregan
0feb833d3e
Fixed Size tag in UI text is not supported #400
9 years ago
chrisgregan
354a0188da
Fixed Fade To View can sometimes not work in Unity 5.3 #370
9 years ago
chrisgregan
6dd7c722eb
Added SetDraggable2D command #191
9 years ago
chrisgregan
330bc04650
Added WaitInput contribution #276
9 years ago
chrisgregan
8b10420672
Added while loop test
9 years ago
chrisgregan
8e1423e508
While loop nested inside If doesn't loop correctly #354
9 years ago
chrisgregan
96c0dddc2e
Fixed Add auto cross fade to Play Music command #199
9 years ago
chrisgregan
101f04915d
Play Music call doesn't restart if same music already playing
...
Add a loop property
9 years ago
chrisgregan
382787a601
Fixed concurrent Say commands on same Say Dialog should interrupt #356
9 years ago
chrisgregan
bde0131ac3
Added command to fade UI objects #349
9 years ago
chrisgregan
d33b0d7619
Read a text file into a string variable #344
9 years ago
chrisgregan
a0d35191a9
Added Set Audio Pitch command #340
9 years ago
chrisgregan
f1825c59ee
Fixed Show Sprite should affect child sprites #338
9 years ago
chrisgregan
5608bf4753
GUID changed for camera tests
9 years ago
chrisgregan
67e1829390
Added multi camera test
9 years ago
chrisgregan
b231ab0435
Fixed Camera Controller null check in wrong position #313
9 years ago
chrisgregan
f6a0542008
Fixed Multiple iTweens on same object interfere with each other #303
9 years ago
chrisgregan
3983e04958
Added test for Clear Menu
9 years ago
chrisgregan
7f957d0708
Added test for Set Slider Value command #297
9 years ago
chrisgregan
98ecbf19c2
Added Set Slider Value command #297
9 years ago
chrisgregan
73437a7a34
Misc improvements to the Writer system
...
Text tags now support multiple parameters.
Write command now works with Text Mesh Pro text objects.
Writer.InstantComplete property controls click-to-complete writing.
Shake tag shakes camera instead of Writer game object.
9 years ago
chrisgregan
e44ae3df45
Fixes for Stop Flowchart command #288
9 years ago
chrisgregan
2b75f05f22
Fixed voiceover clips not playing correctly in Say command #273
9 years ago
chrisgregan
1ccedcc7b4
Fixed Changing portrait facing flips incorrectly #190
9 years ago
chrisgregan
0f65d2dd94
Fixed Variable substitution in Menu command #263
9 years ago