aster2013
|
8d067b2810
Now, we can use Lua function to handle event directly, for example:
|
11 ani în urmă |
Mike3D
|
265eecb229
Catch-up C++ samples (screen joystick support for lua and AngelScript)
|
11 ani în urmă |
Lasse Öörni
|
47836474e2
Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant.
|
12 ani în urmă |
Lasse Öörni
|
fd140ddb32
Minor code reorganization of the HelloGUI example. Removed SubscribeToEvents() as it was only used for 1 event and events were also subscribed to elsewhere.
|
12 ani în urmă |
Mike3D
|
a0f42bee35
Added drag and tooltip to sample#2 HelloGUI
|
12 ani în urmă |
aster2013
|
13e1069fcb
Update Lua samples, use global property to access subsystem.
|
12 ani în urmă |
aster2013
|
36c0206e67
Update Lua samples, remove context from Object's constructor.
|
12 ani în urmă |
Lasse Öörni
|
056e53f46d
Added CharacterDemo Lua sample.
|
12 ani în urmă |
Lasse Öörni
|
7a55a43725
Tidied up the sample descriptions.
|
12 ani în urmă |
Wei Tjong Yao
|
e376dc4562
Identity the maintainer of the Urho3D/Lua fork. Regenerate toluabind.c and toluabind.h using bootstrap process. Only call 'standard' script functions when they are available and be silent about it when they are not defined in the Lua script.
|
12 ani în urmă |
Aster Jian
|
78a77a7e36
Add type parameter to VariantMap::GetPtr funcition, so we can get correct type in Lua.
|
12 ani în urmă |
Aster Jian
|
ed04210c55
Update Lua code.
|
12 ani în urmă |
Aster Jian
|
699b9b29be
Port HugeObjectCount to lua.
|
12 ani în urmă |
Aster Jian
|
b1a95c1ba8
Use ResourceCache:GetResource("XXX", ...) and Node:CreateComponent("XXX") method.
|
12 ani în urmă |
Aster Jian
|
5552d06572
Update HelloGUI sample.
|
12 ani în urmă |
Aster Jian
|
5fe38d3246
Update 01_HelloWorld.lua and Add 02_HelloGUI.lua.
|
12 ani în urmă |