提交 e3cb076e 编写于 作者: Z zhangjunkunn
.vs
/Library
/ProjectSettings
/Temp
/Assets/XLua/Gen
/Assets/XLua/Gen.meta
Assets/StreamingAssets.meta
Assets/StreamingAssets/
Assets/xLuaTest.meta
Assets/xLuaTest/
/*.csproj
/*.sln
/build/build*
UnityVS
/Assets/UnityVS.meta
.DS_Store
*.o
/build/*/*.a
luajit
buildvm
minilua
libluajit.so
lj_vm.S
build/luajit-2.1.0b2/src/host/buildvm_arch.h
build/luajit-2.1.0b2/src/jit/vmdef.lua
build/luajit-2.1.0b2/src/lj_bcdef.h
build/luajit-2.1.0b2/src/lj_ffdef.h
build/luajit-2.1.0b2/src/lj_folddef.h
build/luajit-2.1.0b2/src/lj_libdef.h
build/luajit-2.1.0b2/src/lj_recdef.h
build/luajit-2.1.0b2/src/lua51.lib
build/luajit-2.1.0b2/src/luajit.exe
build/luajit-2.1.0b2/src/luajit.exp
build/luajit-2.1.0b2/src/luajit.lib
fileFormatVersion: 2
guid: 17fbf818623efea41bc6306717f2dda4
guid: 2b71b8b80dee4c946b304d7c1271e4b3
folderAsset: yes
DefaultImporter:
externalObjects: {}
......
fileFormatVersion: 2
guid: 25e62256904c51142b93a7ff4dd1a5b1
guid: 7474952bf87dbfd4e99e9baccfa3fb84
PluginImporter:
externalObjects: {}
serializedVersion: 2
......
......@@ -2,10 +2,10 @@ extern "C" {
#include "../../../WebGLPlugins/lapi.c"
#include "../../../WebGLPlugins/lauxlib.c"
#include "../../../WebGLPlugins/lbaselib.c"
// #include "../../../WebGLPlugins/lbitlib.c"
#include "../../../WebGLPlugins/lbitlib.c"
#include "../../../WebGLPlugins/lcode.c"
// #include "../../../WebGLPlugins/lcorolib.c"
// #include "../../../WebGLPlugins/lctype.c"
#include "../../../WebGLPlugins/lcorolib.c"
#include "../../../WebGLPlugins/lctype.c"
#include "../../../WebGLPlugins/ldblib.c"
#include "../../../WebGLPlugins/ldebug.c"
#include "../../../WebGLPlugins/ldo.c"
......@@ -29,7 +29,7 @@ extern "C" {
#include "../../../WebGLPlugins/ltablib.c"
#include "../../../WebGLPlugins/ltm.c"
#include "../../../WebGLPlugins/lundump.c"
// #include "../../../WebGLPlugins/lutf8lib.c"
#include "../../../WebGLPlugins/lutf8lib.c"
#include "../../../WebGLPlugins/lvm.c"
#include "../../../WebGLPlugins/lzio.c"
#include "../../../WebGLPlugins/i64lib.c"
......
fileFormatVersion: 2
guid: 92f9773841d5ffd44b794b9b584a5c05
timeCreated: 1504062948
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Facebook: WebGL
second:
enabled: 1
settings: {}
- first:
WebGL: WebGL
second:
enabled: 1
settings: {}
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
data:
first:
Facebook: WebGL
second:
enabled: 1
settings: {}
data:
first:
WebGL: WebGL
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -2,14 +2,15 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: logo
m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
......
......@@ -17,7 +17,7 @@ namespace XLuaTest
void Start()
{
LuaEnv luaenv = new LuaEnv();
luaenv.DoString("CS.UnityEngine.Debug.Log('hello world')");
luaenv.DoString("CS.UnityEngine.Debug.Log('hello world')");
luaenv.Dispose();
}
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 4914502aca8542947861744841171dc5, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 2233ec8d87bf65345976b29cd33a9446, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......@@ -137,7 +137,7 @@ GameObject:
- component: {fileID: 100055421}
- component: {fileID: 100055420}
m_Layer: 0
m_Name: Main Camera
m_Name: Main Camera1
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
......
fileFormatVersion: 2
guid: 4914502aca8542947861744841171dc5
guid: 2233ec8d87bf65345976b29cd33a9446
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 27351eb3806681c4384a7ae8c4227bb8, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: afc920e201c4ad04d888314aa8a65b3e, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 27351eb3806681c4384a7ae8c4227bb8
guid: afc920e201c4ad04d888314aa8a65b3e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: dadf3bce3d652b6438e582429451f218, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: ef4b5ba045cb43c4a93800523fa33b72, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: dadf3bce3d652b6438e582429451f218
guid: ef4b5ba045cb43c4a93800523fa33b72
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: df52c5486c9056447acbfc1238be3562, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 7a64b616e64065443a1f31e933032cd5, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: df52c5486c9056447acbfc1238be3562
guid: 7a64b616e64065443a1f31e933032cd5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: c75510e0a9221e74da9910ba9a7fe376, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 371cf3b439bab9a4284fe16fb9937424, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: c75510e0a9221e74da9910ba9a7fe376
guid: 371cf3b439bab9a4284fe16fb9937424
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: e2b0d59fc1ccdb542ad8216607819a9e, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: ce860007b70688f4ba3b9edbda851481, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: e2b0d59fc1ccdb542ad8216607819a9e
guid: ce860007b70688f4ba3b9edbda851481
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 19d62e0e9b49170479cfa0aaad6ac6f0, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: d44cbc01e0c8b194992d4d69f335f036, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 19d62e0e9b49170479cfa0aaad6ac6f0
guid: d44cbc01e0c8b194992d4d69f335f036
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: bd0a3ab10dc16f74caeff7f5ca599ad3, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: dbf0aa65243cdcc47b3d5aba2c0c1000, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 225d017ac116b054bb2ecb2058acab31, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 78388a996045c224387ecebf94af9db5, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 225d017ac116b054bb2ecb2058acab31
guid: 78388a996045c224387ecebf94af9db5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
fileFormatVersion: 2
guid: bd0a3ab10dc16f74caeff7f5ca599ad3
guid: dbf0aa65243cdcc47b3d5aba2c0c1000
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 6a9ecfc218c904b41b80d68bc9dfa657, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: f27924c176a6db049a507bebccddbee9, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 6a9ecfc218c904b41b80d68bc9dfa657
guid: f27924c176a6db049a507bebccddbee9
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: ac8b88661335fae4a8cc940e3ac8bc89, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 04ad4af8d3776f149a738abece357a94, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: ac8b88661335fae4a8cc940e3ac8bc89
guid: 04ad4af8d3776f149a738abece357a94
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 0f2dc706b158c024d84f878d4a0ff76e, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 3116aae82cc78154b9bdd80e5909b606, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 0f2dc706b158c024d84f878d4a0ff76e
guid: 3116aae82cc78154b9bdd80e5909b606
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 466f9318ce14e8048911eaf070ce9b8a, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: e519e337c05e82044bcde6f0153ff052, type: 2}
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 466f9318ce14e8048911eaf070ce9b8a
guid: e519e337c05e82044bcde6f0153ff052
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
fileFormatVersion: 2
guid: 7f280a1a0fbdcd744bb2966c6f43185c
guid: d153e5fb9675dd5449dfd182479a1c5a
folderAsset: yes
DefaultImporter:
externalObjects: {}
......
fileFormatVersion: 2
guid: ba2b9c7cbfbc64f4fb24fc301c0be9da
guid: 7c3ec0d1a9e9fd74c868744eded14c8b
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 69bbb7b9562aad54380ec56d39a71336
guid: fd9da0fe88186e5419635b485a4fb993
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 52c2e89453261454180f5ab3e81de37d
guid: a5f1094e738b5b041888070020579f8d
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 1c71338e2c3c9744cbdffd81f1dd38b2
guid: 70b03735eeebae1449d9b22eb7f955c9
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: d1e97d3d169014e4d9d0dd1c34822029
guid: 49be5344a2684b645b2560370af1f434
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: c6097fc9e9205014f88aad6e9cf4cdfe
guid: 926dd8c80a5d41841ae78cee71b70d19
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: eadd04b9d489b95429d5260a19eb145f
guid: e8fa680be7fdd0c42818764f47dacdb1
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: aefcf7da875d2b6439fa7435689dac30
guid: 301bf0f7626b57546b48421bea24f458
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 6a13b00ff6fe4804ab4439e295e0ef61
guid: 27c49afd3732b2347b82af0ccdfcea1e
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 896567dca7a1e5f49866a89553048cd9
guid: 166781e876dd2314a9ca53cc150fb177
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 877c1aebb93beba42b9320f75d4ea397
guid: 736ead2bab0c863498b4bdf4c73d33df
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: e42a41fe0de63aa4c804add9ba64459a
guid: b8a431b238e5b644dbee38f0ef889aa5
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: c4fc64d0d907eb94895ddf7b50b72abb
guid: a58fcd6f7c9ffaa479b9efbcb3287d73
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 9f09a4f63f0187c428df524c34d83808
guid: 2bd1f5fe8834b274da24f261ada17db8
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 883e2d9ccbdceb648998f1e9df9c902b
guid: 914e1a351685f704cb994bb4feccac20
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: b0496c509e797af478ca18ab15db98f2
guid: dcd2c44422435124484438237f89e1da
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 3506c09d0196de049bdb4763fc427393
guid: cae38d8bfb5a6d842b92d08e787249a4
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 66ea7300bc1efd049928526d94ac5122
guid: 7d49da3598cca684aac035574b971f90
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 8cf394ae89e73904991ef8b5ca915964
guid: 528b13a436e76134eab24cfe28e6687b
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: b634779553c16ba4ebbfb661004db640
guid: 047a68a58ec879547b4d792a639797ab
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
......@@ -21,10 +21,9 @@ namespace XLua.CSObjectWrap
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(UnityEngine.Light);
Utils.BeginObjectRegister(type, L, translator, 0, 8, 34, 33);
Utils.BeginObjectRegister(type, L, translator, 0, 7, 32, 31);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Reset", _m_Reset);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLightDirty", _m_SetLightDirty);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddCommandBuffer", _m_AddCommandBuffer);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddCommandBufferAsync", _m_AddCommandBufferAsync);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveCommandBuffer", _m_RemoveCommandBuffer);
......@@ -57,8 +56,6 @@ namespace XLua.CSObjectWrap
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cullingMask", _g_get_cullingMask);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "renderingLayerMask", _g_get_renderingLayerMask);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "lightShadowCasterMode", _g_get_lightShadowCasterMode);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shadowRadius", _g_get_shadowRadius);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shadowAngle", _g_get_shadowAngle);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shadows", _g_get_shadows);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shadowStrength", _g_get_shadowStrength);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shadowResolution", _g_get_shadowResolution);
......@@ -92,8 +89,6 @@ namespace XLua.CSObjectWrap
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cullingMask", _s_set_cullingMask);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "renderingLayerMask", _s_set_renderingLayerMask);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "lightShadowCasterMode", _s_set_lightShadowCasterMode);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "shadowRadius", _s_set_shadowRadius);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "shadowAngle", _s_set_shadowAngle);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "shadows", _s_set_shadows);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "shadowStrength", _s_set_shadowStrength);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "shadowResolution", _s_set_shadowResolution);
......@@ -165,33 +160,6 @@ namespace XLua.CSObjectWrap
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetLightDirty(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.Light gen_to_be_invoked = (UnityEngine.Light)translator.FastGetCSObj(L, 1);
{
// gen_to_be_invoked.SetLightDirty( );
return 0;
}
......@@ -773,34 +741,6 @@ namespace XLua.CSObjectWrap
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_shadowRadius(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.Light gen_to_be_invoked = (UnityEngine.Light)translator.FastGetCSObj(L, 1);
// LuaAPI.lua_pushnumber(L, gen_to_be_invoked.shadowRadius);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_shadowAngle(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.Light gen_to_be_invoked = (UnityEngine.Light)translator.FastGetCSObj(L, 1);
// LuaAPI.lua_pushnumber(L, gen_to_be_invoked.shadowAngle);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_shadows(RealStatePtr L)
{
......@@ -1282,36 +1222,6 @@ namespace XLua.CSObjectWrap
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_shadowRadius(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.Light gen_to_be_invoked = (UnityEngine.Light)translator.FastGetCSObj(L, 1);
// gen_to_be_invoked.shadowRadius = (float)LuaAPI.lua_tonumber(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_shadowAngle(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.Light gen_to_be_invoked = (UnityEngine.Light)translator.FastGetCSObj(L, 1);
//gen_to_be_invoked.shadowAngle = (float)LuaAPI.lua_tonumber(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_shadows(RealStatePtr L)
{
......
fileFormatVersion: 2
guid: 9e54e2a70518c584bab9492be5ba68a9
guid: fb78f2c2d4806614499aecb8c67c783c
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: d43d6b2c5c6731a47bca6aa24bf01591
guid: 9748d2c40f66e54489d665339c76c4e5
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: b137f991410313740b95f8270ea42e2c
guid: 340942f3fcb703b4ba1bab22d952ff6b
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: ef5a20d798f5b10458a2225e86615e76
guid: d25512f17c5552a428c60771b6536313
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: a2fabbc25bd35f944957cae027044f2a
guid: 8d73dd12070491843ac619859fae8c49
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: f01106bc85c118c4fa272dc48f778f26
guid: 878241436827a164988238b08bc654a8
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: a0a3e4ddb5d0e4f409d7e2910a308461
guid: 750381d9ffbd781459fca88c5272d244
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 07cbda9a9c1dd574893d612d63742786
guid: d5e87f0d639a1d9459c3651e5e539d25
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: f55850cfd14a71d43a2c4f142b564f5d
guid: d3363c679da13a74db75bb7b2c405e21
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 47dd4e32570f9744094d8134cf06ece7
guid: 43818b56e9b8c2d4ba3b27f086bb8685
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 0111e16774d886547b1183c31565addb
guid: dddcee7e2eb4971498a3ee9ed6e93789
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 9ebf486de84dea94a8b083f88912ecf7
guid: 29e8c07bffdb70d478032b95f31ef4b8
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 53366547106150543ad6dc8b23fe6ca0
guid: 73adf7794611d7440ab4e6fa998e50af
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 499b04f50b107de4d8b372b05bcb7006
guid: 4dd57c23b70e9224c8c9a6070a1a22b0
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: ddbc201b28de6ee43b1344ac8c0fb516
guid: f72b717e68c977d49ba3f869593d7d35
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: ba18ddedaa23f81459f79e1da2091095
guid: a9037b5d7e5205d459b00d9049cd4c51
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 07ee1f27fd9ee984684733847d4f05d4
guid: 04249ad9397350e4281561926def4e1e
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 72e368b8ef8d5bf499a0967b8ea56407
guid: c114e7122562527459353e2f9762963b
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 2463634481fd9264bbe322caa4c7f9c1
guid: dbbcb125809efe843b919136a7ca131b
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: b27ff82c133a5ed4ea720856b15512a5
guid: cea1d494e3e38b944a8f6006012c7cbc
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: e6d01eacfbea1554287fbf3a96750f8a
guid: 0d727a0b921184a479ebcfeff0cb4cb1
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 3ddb033762d87a64785274d2184ba523
guid: 9ed7830edeab6e449814ddb7bf5aafc6
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 9a20df56cc7a91848a86839158cc9c83
guid: 6847b72ba7e99fb4a94aa54aaab94a57
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: e38c775b91f24814cb9200e4142c0378
guid: d127e8a7d4d2124408da0dba9f231165
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: d6a26a2ab14cb4148821c910a404e297
guid: c8d9f3c625478794f9ef0c6e64702872
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: ce753a5b394f8844f85e6882e10619c4
guid: a3740c7d687cbcf4c9a93e714c3906b8
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 155de28caded19542bf7198dff8727b1
guid: 7fc438d0215ceae4ba45c6b495ae5ad8
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: ad8c25540b5cd89449237c65022a49fb
guid: 6d429f2d06232624593adc08b21ff1ee
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 8bf5a3fbf00265d4e8a91c43254c65ae
guid: 62814b13d0607744a89295b739ac10c5
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 60c74867a42ab764b8bc99cad3abb207
guid: 1bb76228d3e52d6438a07b898d25edb2
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: b442a3de0a3b3d04aa89e76d65ae4c0f
guid: d32d0b182450c28458470e0fc287c48a
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: dbdb1c475620dac4ba90d639e2f09f07
guid: 71c5836aa0a99d841ae03dd20b71c91f
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 7d054433c72947f42bfd69a4177f5d07
guid: 5f88c8c474e0fb3498905225355bf1ba
MonoImporter:
externalObjects: {}
serializedVersion: 2
......
fileFormatVersion: 2
guid: 9c3e93991ec7a4c488cd2940f4ca5adb
guid: 65b5e2987a2571c4ea7ec54e8ea5a7e0
TextScriptImporter:
externalObjects: {}
userData:
......
......@@ -1470,6 +1470,10 @@ namespace CSObjectWrapEditor
BlackList = new List<List<string>>()
{
new List<string>(){"UnityEngine.Light", "shadowRadius"},
new List<string>(){"UnityEngine.Light", "SetLightDirty"},
new List<string>(){"UnityEngine.Light", "shadowAngle"},
new List<string>(){"UnityEngine.Light", "shadowAngle"}
};
HotfixCfg = new Dictionary<Type, HotfixFlag>();
......
......@@ -12,7 +12,6 @@ namespace XLua.LuaDLL
using System;
using System.Runtime.InteropServices;
using System.Text;
using UnityEngine;
using XLua;
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || XLUA_GENERAL || (UNITY_WSA && !UNITY_EDITOR)
......@@ -391,10 +390,8 @@ namespace XLua.LuaDLL
public static void luaL_getmetatable(IntPtr L, string meta)
{
Debug.Log($"luaL_getmetatable {L}, {meta}");
xlua_pushasciistring(L, meta);
Debug.Log($"lua_rawget");
lua_rawget(L, LuaIndexes.LUA_REGISTRYINDEX);
lua_rawget(L, LuaIndexes.LUA_REGISTRYINDEX);
}
[DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 4293133ca236a9049a00c8da31d36385, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: a045c6496ae350f47a9662fe862e5e4e, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 4293133ca236a9049a00c8da31d36385
guid: a045c6496ae350f47a9662fe862e5e4e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 00dedc1e4b43d5048861d1e281ef6396, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 104ac3a39ee26c141920e99f245b38de, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 00dedc1e4b43d5048861d1e281ef6396
guid: 104ac3a39ee26c141920e99f245b38de
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 08ce02e451c435f44b3e4b27a2623b5d, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: df46041fe2694cd4dbc3d01248b6ff9e, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 08ce02e451c435f44b3e4b27a2623b5d
guid: df46041fe2694cd4dbc3d01248b6ff9e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 69866af5fb1ec84449f5cb263cfb4bdb, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: a23964d377c31fb4fa6f7f6d4dd2eb70, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
......
fileFormatVersion: 2
guid: 69866af5fb1ec84449f5cb263cfb4bdb
guid: a23964d377c31fb4fa6f7f6d4dd2eb70
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
......
......@@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 41b0aedd0c69ab8419d0278e89186835, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 1a115c8e236d2ad4cbb2f97f3dbdc1b7, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册