设置界面
This commit is contained in:
parent
b781f3a483
commit
5ab1e11c6b
@ -346,6 +346,7 @@ namespace BFEditor
|
|||||||
typeof(UnityEngine.UI.GridLayoutGroup.Constraint),
|
typeof(UnityEngine.UI.GridLayoutGroup.Constraint),
|
||||||
typeof(UnityEngine.UI.VerticalLayoutGroup),
|
typeof(UnityEngine.UI.VerticalLayoutGroup),
|
||||||
typeof(UnityEngine.UI.LayoutGroup),
|
typeof(UnityEngine.UI.LayoutGroup),
|
||||||
|
typeof(UnityEngine.GUIUtility),
|
||||||
|
|
||||||
// spine
|
// spine
|
||||||
typeof(Spine.TrackEntry),
|
typeof(Spine.TrackEntry),
|
||||||
|
|||||||
571
Assets/XLua/Gen/UnityEngine_GUIUtilityWrap.cs
Normal file
571
Assets/XLua/Gen/UnityEngine_GUIUtilityWrap.cs
Normal file
@ -0,0 +1,571 @@
|
|||||||
|
#if USE_UNI_LUA
|
||||||
|
using LuaAPI = UniLua.Lua;
|
||||||
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
|
#else
|
||||||
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
|
using RealStatePtr = System.IntPtr;
|
||||||
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
using XLua;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
|
namespace XLua.CSObjectWrap
|
||||||
|
{
|
||||||
|
using Utils = XLua.Utils;
|
||||||
|
public class UnityEngineGUIUtilityWrap
|
||||||
|
{
|
||||||
|
public static void __Register(RealStatePtr L)
|
||||||
|
{
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
System.Type type = typeof(UnityEngine.GUIUtility);
|
||||||
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
|
null, null, null);
|
||||||
|
|
||||||
|
Utils.BeginClassRegister(type, L, __CreateInstance, 12, 4, 3);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetControlID", _m_GetControlID_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "AlignRectToDevice", _m_AlignRectToDevice_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetStateObject", _m_GetStateObject_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "QueryStateObject", _m_QueryStateObject_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "ExitGUI", _m_ExitGUI_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "GUIToScreenPoint", _m_GUIToScreenPoint_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "GUIToScreenRect", _m_GUIToScreenRect_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "ScreenToGUIPoint", _m_ScreenToGUIPoint_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "ScreenToGUIRect", _m_ScreenToGUIRect_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "RotateAroundPivot", _m_RotateAroundPivot_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "ScaleAroundPivot", _m_ScaleAroundPivot_xlua_st_);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "hasModalWindow", _g_get_hasModalWindow);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "systemCopyBuffer", _g_get_systemCopyBuffer);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "hotControl", _g_get_hotControl);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "keyboardControl", _g_get_keyboardControl);
|
||||||
|
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "systemCopyBuffer", _s_set_systemCopyBuffer);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "hotControl", _s_set_hotControl);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "keyboardControl", _s_set_keyboardControl);
|
||||||
|
|
||||||
|
|
||||||
|
Utils.EndClassRegister(type, L, translator);
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int __CreateInstance(RealStatePtr L)
|
||||||
|
{
|
||||||
|
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
|
{
|
||||||
|
|
||||||
|
var gen_ret = new UnityEngine.GUIUtility();
|
||||||
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.GUIUtility constructor!");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_GetControlID_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
||||||
|
|
||||||
|
if(gen_param_count == 1&& translator.Assignable<UnityEngine.FocusType>(L, 1))
|
||||||
|
{
|
||||||
|
UnityEngine.FocusType _focus;translator.Get(L, 1, out _focus);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GetControlID( _focus );
|
||||||
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.FocusType>(L, 2))
|
||||||
|
{
|
||||||
|
int _hint = LuaAPI.xlua_tointeger(L, 1);
|
||||||
|
UnityEngine.FocusType _focus;translator.Get(L, 2, out _focus);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GetControlID( _hint, _focus );
|
||||||
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if(gen_param_count == 2&& translator.Assignable<UnityEngine.GUIContent>(L, 1)&& translator.Assignable<UnityEngine.FocusType>(L, 2))
|
||||||
|
{
|
||||||
|
UnityEngine.GUIContent _contents = (UnityEngine.GUIContent)translator.GetObject(L, 1, typeof(UnityEngine.GUIContent));
|
||||||
|
UnityEngine.FocusType _focus;translator.Get(L, 2, out _focus);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GetControlID( _contents, _focus );
|
||||||
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if(gen_param_count == 2&& translator.Assignable<UnityEngine.FocusType>(L, 1)&& translator.Assignable<UnityEngine.Rect>(L, 2))
|
||||||
|
{
|
||||||
|
UnityEngine.FocusType _focus;translator.Get(L, 1, out _focus);
|
||||||
|
UnityEngine.Rect _position;translator.Get(L, 2, out _position);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GetControlID( _focus, _position );
|
||||||
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.FocusType>(L, 2)&& translator.Assignable<UnityEngine.Rect>(L, 3))
|
||||||
|
{
|
||||||
|
int _hint = LuaAPI.xlua_tointeger(L, 1);
|
||||||
|
UnityEngine.FocusType _focusType;translator.Get(L, 2, out _focusType);
|
||||||
|
UnityEngine.Rect _rect;translator.Get(L, 3, out _rect);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GetControlID( _hint, _focusType, _rect );
|
||||||
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if(gen_param_count == 3&& translator.Assignable<UnityEngine.GUIContent>(L, 1)&& translator.Assignable<UnityEngine.FocusType>(L, 2)&& translator.Assignable<UnityEngine.Rect>(L, 3))
|
||||||
|
{
|
||||||
|
UnityEngine.GUIContent _contents = (UnityEngine.GUIContent)translator.GetObject(L, 1, typeof(UnityEngine.GUIContent));
|
||||||
|
UnityEngine.FocusType _focus;translator.Get(L, 2, out _focus);
|
||||||
|
UnityEngine.Rect _position;translator.Get(L, 3, out _position);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GetControlID( _contents, _focus, _position );
|
||||||
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.GUIUtility.GetControlID!");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_AlignRectToDevice_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
||||||
|
|
||||||
|
if(gen_param_count == 1&& translator.Assignable<UnityEngine.Rect>(L, 1))
|
||||||
|
{
|
||||||
|
UnityEngine.Rect _rect;translator.Get(L, 1, out _rect);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.AlignRectToDevice( _rect );
|
||||||
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if(gen_param_count == 1&& translator.Assignable<UnityEngine.Rect>(L, 1))
|
||||||
|
{
|
||||||
|
UnityEngine.Rect _rect;translator.Get(L, 1, out _rect);
|
||||||
|
int _widthInPixels;
|
||||||
|
int _heightInPixels;
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.AlignRectToDevice( _rect, out _widthInPixels, out _heightInPixels );
|
||||||
|
translator.Push(L, gen_ret);
|
||||||
|
LuaAPI.xlua_pushinteger(L, _widthInPixels);
|
||||||
|
|
||||||
|
LuaAPI.xlua_pushinteger(L, _heightInPixels);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.GUIUtility.AlignRectToDevice!");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_GetStateObject_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
System.Type _t = (System.Type)translator.GetObject(L, 1, typeof(System.Type));
|
||||||
|
int _controlID = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GetStateObject( _t, _controlID );
|
||||||
|
translator.PushAny(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_QueryStateObject_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
System.Type _t = (System.Type)translator.GetObject(L, 1, typeof(System.Type));
|
||||||
|
int _controlID = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.QueryStateObject( _t, _controlID );
|
||||||
|
translator.PushAny(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_ExitGUI_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
UnityEngine.GUIUtility.ExitGUI( );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_GUIToScreenPoint_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
UnityEngine.Vector2 _guiPoint;translator.Get(L, 1, out _guiPoint);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GUIToScreenPoint( _guiPoint );
|
||||||
|
translator.PushUnityEngineVector2(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_GUIToScreenRect_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
UnityEngine.Rect _guiRect;translator.Get(L, 1, out _guiRect);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.GUIToScreenRect( _guiRect );
|
||||||
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_ScreenToGUIPoint_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
UnityEngine.Vector2 _screenPoint;translator.Get(L, 1, out _screenPoint);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.ScreenToGUIPoint( _screenPoint );
|
||||||
|
translator.PushUnityEngineVector2(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_ScreenToGUIRect_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
UnityEngine.Rect _screenRect;translator.Get(L, 1, out _screenRect);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.GUIUtility.ScreenToGUIRect( _screenRect );
|
||||||
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_RotateAroundPivot_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
float _angle = (float)LuaAPI.lua_tonumber(L, 1);
|
||||||
|
UnityEngine.Vector2 _pivotPoint;translator.Get(L, 2, out _pivotPoint);
|
||||||
|
|
||||||
|
UnityEngine.GUIUtility.RotateAroundPivot( _angle, _pivotPoint );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_ScaleAroundPivot_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
UnityEngine.Vector2 _scale;translator.Get(L, 1, out _scale);
|
||||||
|
UnityEngine.Vector2 _pivotPoint;translator.Get(L, 2, out _pivotPoint);
|
||||||
|
|
||||||
|
UnityEngine.GUIUtility.ScaleAroundPivot( _scale, _pivotPoint );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _g_get_hasModalWindow(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
LuaAPI.lua_pushboolean(L, UnityEngine.GUIUtility.hasModalWindow);
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _g_get_systemCopyBuffer(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
LuaAPI.lua_pushstring(L, UnityEngine.GUIUtility.systemCopyBuffer);
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _g_get_hotControl(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
LuaAPI.xlua_pushinteger(L, UnityEngine.GUIUtility.hotControl);
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _g_get_keyboardControl(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
LuaAPI.xlua_pushinteger(L, UnityEngine.GUIUtility.keyboardControl);
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _s_set_systemCopyBuffer(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
UnityEngine.GUIUtility.systemCopyBuffer = LuaAPI.lua_tostring(L, 1);
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _s_set_hotControl(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
UnityEngine.GUIUtility.hotControl = LuaAPI.xlua_tointeger(L, 1);
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _s_set_keyboardControl(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
UnityEngine.GUIUtility.keyboardControl = LuaAPI.xlua_tointeger(L, 1);
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -2857,6 +2857,9 @@ namespace XLua.CSObjectWrap
|
|||||||
translator.DelayWrapLoader(typeof(UnityEngine.UI.GridLayoutGroup.Constraint), UnityEngineUIGridLayoutGroupConstraintWrap.__Register);
|
translator.DelayWrapLoader(typeof(UnityEngine.UI.GridLayoutGroup.Constraint), UnityEngineUIGridLayoutGroupConstraintWrap.__Register);
|
||||||
|
|
||||||
|
|
||||||
|
translator.DelayWrapLoader(typeof(UnityEngine.GUIUtility), UnityEngineGUIUtilityWrap.__Register);
|
||||||
|
|
||||||
|
|
||||||
translator.DelayWrapLoader(typeof(Spine.TrackEntry), SpineTrackEntryWrap.__Register);
|
translator.DelayWrapLoader(typeof(Spine.TrackEntry), SpineTrackEntryWrap.__Register);
|
||||||
|
|
||||||
|
|
||||||
@ -2997,14 +3000,14 @@ namespace XLua.CSObjectWrap
|
|||||||
|
|
||||||
translator.DelayWrapLoader(typeof(Http.RequestState), HttpRequestStateWrap.__Register);
|
translator.DelayWrapLoader(typeof(Http.RequestState), HttpRequestStateWrap.__Register);
|
||||||
|
|
||||||
|
|
||||||
translator.DelayWrapLoader(typeof(BestHTTP.HTTPResponse), BestHTTPHTTPResponseWrap.__Register);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void wrapInit19(LuaEnv luaenv, ObjectTranslator translator)
|
static void wrapInit19(LuaEnv luaenv, ObjectTranslator translator)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
translator.DelayWrapLoader(typeof(BestHTTP.HTTPResponse), BestHTTPHTTPResponseWrap.__Register);
|
||||||
|
|
||||||
|
|
||||||
translator.DelayWrapLoader(typeof(BestHTTP.Forms.HTTPUrlEncodedForm), BestHTTPFormsHTTPUrlEncodedFormWrap.__Register);
|
translator.DelayWrapLoader(typeof(BestHTTP.Forms.HTTPUrlEncodedForm), BestHTTPFormsHTTPUrlEncodedFormWrap.__Register);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -596,6 +596,7 @@
|
|||||||
|
|
||||||
<assembly fullname="UnityEngine.IMGUIModule">
|
<assembly fullname="UnityEngine.IMGUIModule">
|
||||||
<type fullname="UnityEngine.Event" preserve="all"/>
|
<type fullname="UnityEngine.Event" preserve="all"/>
|
||||||
|
<type fullname="UnityEngine.GUIUtility" preserve="all"/>
|
||||||
|
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
||||||
|
|||||||
BIN
Assets/lua/app/config/act_gift.lua.bytes
Normal file
BIN
Assets/lua/app/config/act_gift.lua.bytes
Normal file
Binary file not shown.
7
Assets/lua/app/config/act_gift.lua.bytes.meta
Normal file
7
Assets/lua/app/config/act_gift.lua.bytes.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a6471e7e09e07154d8d00bfc1b551d37
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
30
Assets/lua/app/config/bounty_level.lua.bytes
Normal file
30
Assets/lua/app/config/bounty_level.lua.bytes
Normal file
File diff suppressed because one or more lines are too long
7
Assets/lua/app/config/bounty_level.lua.bytes.meta
Normal file
7
Assets/lua/app/config/bounty_level.lua.bytes.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 563d7b96d17094a45b9f44b70c62e576
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/lua/app/config/bounty_time.lua.bytes
Normal file
BIN
Assets/lua/app/config/bounty_time.lua.bytes
Normal file
Binary file not shown.
7
Assets/lua/app/config/bounty_time.lua.bytes.meta
Normal file
7
Assets/lua/app/config/bounty_time.lua.bytes.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8006c955effd383449b5ab22cd3d7d31
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Assets/lua/app/config/task.lua.bytes
Normal file
BIN
Assets/lua/app/config/task.lua.bytes
Normal file
Binary file not shown.
7
Assets/lua/app/config/task.lua.bytes.meta
Normal file
7
Assets/lua/app/config/task.lua.bytes.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0f48aa058e5b9cf4b85faa2408092d49
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/lua/app/config/task_daily.lua.bytes
Normal file
BIN
Assets/lua/app/config/task_daily.lua.bytes
Normal file
Binary file not shown.
7
Assets/lua/app/config/task_daily.lua.bytes.meta
Normal file
7
Assets/lua/app/config/task_daily.lua.bytes.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3a11f735a116ad340b3a6f06f577d7eb
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
Binary file not shown.
@ -478,7 +478,7 @@ GameObject:
|
|||||||
- component: {fileID: 3702352169962346973}
|
- component: {fileID: 3702352169962346973}
|
||||||
- component: {fileID: 5101007275619951065}
|
- component: {fileID: 5101007275619951065}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: masl
|
m_Name: mask
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
@ -2088,46 +2088,22 @@ MonoBehaviour:
|
|||||||
hashName: 266493504
|
hashName: 266493504
|
||||||
objectType: 0
|
objectType: 0
|
||||||
gameObject: {fileID: 776992533597397422}
|
gameObject: {fileID: 776992533597397422}
|
||||||
- name: game_setting_ui.bg.player_id
|
- name: game_setting_ui.bg.player_bg.player_id
|
||||||
hashName: 4263688366
|
hashName: 3455974563
|
||||||
objectType: 0
|
objectType: 0
|
||||||
gameObject: {fileID: 4346305278451421404}
|
gameObject: {fileID: 4346305278451421404}
|
||||||
- name: game_setting_ui.bg.apple_sign_btn
|
- name: game_setting_ui.bg.google_sign_btn
|
||||||
hashName: 896597962
|
hashName: 1091786197
|
||||||
objectType: 0
|
objectType: 0
|
||||||
gameObject: {fileID: 984862345490627808}
|
gameObject: {fileID: 984862345490627808}
|
||||||
- name: game_setting_ui.bg.apple_sign_btn.desc
|
- name: game_setting_ui.bg.google_sign_btn.desc
|
||||||
hashName: 801146421
|
hashName: 3974709002
|
||||||
objectType: 0
|
objectType: 0
|
||||||
gameObject: {fileID: 7385336063269129829}
|
gameObject: {fileID: 7385336063269129829}
|
||||||
- name: game_setting_ui.bg.apple_switch_btn
|
|
||||||
hashName: 3442756033
|
|
||||||
objectType: 0
|
|
||||||
gameObject: {fileID: 0}
|
|
||||||
- name: game_setting_ui.bg.apple_switch_btn.desc
|
|
||||||
hashName: 824172190
|
|
||||||
objectType: 0
|
|
||||||
gameObject: {fileID: 0}
|
|
||||||
- name: game_setting_ui.bg.delete_btn
|
|
||||||
hashName: 2994060019
|
|
||||||
objectType: 0
|
|
||||||
gameObject: {fileID: 0}
|
|
||||||
- name: game_setting_ui.bg.delete_btn.desc
|
|
||||||
hashName: 2507103404
|
|
||||||
objectType: 0
|
|
||||||
gameObject: {fileID: 0}
|
|
||||||
- name: game_setting_ui.bg
|
- name: game_setting_ui.bg
|
||||||
hashName: 2987783587
|
hashName: 2987783587
|
||||||
objectType: 0
|
objectType: 0
|
||||||
gameObject: {fileID: 4117970956418931131}
|
gameObject: {fileID: 4117970956418931131}
|
||||||
- name: game_setting_ui.bg.apple_sign_btn.image
|
|
||||||
hashName: 3365541431
|
|
||||||
objectType: 0
|
|
||||||
gameObject: {fileID: 9134676885835831460}
|
|
||||||
- name: game_setting_ui.bg.apple_switch_btn.image
|
|
||||||
hashName: 4079340270
|
|
||||||
objectType: 0
|
|
||||||
gameObject: {fileID: 0}
|
|
||||||
- name: game_setting_ui.bg.tx_1
|
- name: game_setting_ui.bg.tx_1
|
||||||
hashName: 2134891169
|
hashName: 2134891169
|
||||||
objectType: 0
|
objectType: 0
|
||||||
@ -2152,6 +2128,18 @@ MonoBehaviour:
|
|||||||
hashName: 558652534
|
hashName: 558652534
|
||||||
objectType: 0
|
objectType: 0
|
||||||
gameObject: {fileID: 7740558661584223870}
|
gameObject: {fileID: 7740558661584223870}
|
||||||
|
- name: game_setting_ui.bg.google_switch_btn
|
||||||
|
hashName: 2040088844
|
||||||
|
objectType: 0
|
||||||
|
gameObject: {fileID: 1236638435547071840}
|
||||||
|
- name: game_setting_ui.bg.google_switch_btn.desc
|
||||||
|
hashName: 1191032371
|
||||||
|
objectType: 0
|
||||||
|
gameObject: {fileID: 3455182150443002831}
|
||||||
|
- name: game_setting_ui.bg.delete_tx
|
||||||
|
hashName: 1482056461
|
||||||
|
objectType: 0
|
||||||
|
gameObject: {fileID: 8503999163876194131}
|
||||||
--- !u!114 &960821287463814128
|
--- !u!114 &960821287463814128
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user