| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class UnityEngine_TextAnchorWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginEnum(typeof(UnityEngine.TextAnchor));
- L.RegVar("UpperLeft", get_UpperLeft, null);
- L.RegVar("UpperCenter", get_UpperCenter, null);
- L.RegVar("UpperRight", get_UpperRight, null);
- L.RegVar("MiddleLeft", get_MiddleLeft, null);
- L.RegVar("MiddleCenter", get_MiddleCenter, null);
- L.RegVar("MiddleRight", get_MiddleRight, null);
- L.RegVar("LowerLeft", get_LowerLeft, null);
- L.RegVar("LowerCenter", get_LowerCenter, null);
- L.RegVar("LowerRight", get_LowerRight, null);
- L.RegFunction("IntToEnum", IntToEnum);
- L.EndEnum();
- TypeTraits<UnityEngine.TextAnchor>.Check = CheckType;
- StackTraits<UnityEngine.TextAnchor>.Push = Push;
- }
- static void Push(IntPtr L, UnityEngine.TextAnchor arg)
- {
- ToLua.Push(L, arg);
- }
- static bool CheckType(IntPtr L, int pos)
- {
- return TypeChecker.CheckEnumType(typeof(UnityEngine.TextAnchor), L, pos);
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_UpperLeft(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.UpperLeft);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_UpperCenter(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.UpperCenter);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_UpperRight(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.UpperRight);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_MiddleLeft(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.MiddleLeft);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_MiddleCenter(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.MiddleCenter);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_MiddleRight(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.MiddleRight);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_LowerLeft(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.LowerLeft);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_LowerCenter(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.LowerCenter);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_LowerRight(IntPtr L)
- {
- ToLua.Push(L, UnityEngine.TextAnchor.LowerRight);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int IntToEnum(IntPtr L)
- {
- int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
- UnityEngine.TextAnchor o = (UnityEngine.TextAnchor)arg0;
- ToLua.Push(L, o);
- return 1;
- }
- }
|