本文整理汇总了C#中LuaState.EndEnum方法的典型用法代码示例。如果您正苦于以下问题:C# LuaState.EndEnum方法的具体用法?C# LuaState.EndEnum怎么用?C# LuaState.EndEnum使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LuaState
的用法示例。
在下文中一共展示了LuaState.EndEnum方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(TestExport.Space));
L.RegVar("World", get_World, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例2: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(UnityEngine.AnimationBlendMode));
L.RegVar("Blend", get_Blend, null);
L.RegVar("Additive", get_Additive, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例3: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(UnityEngine.QueueMode));
L.RegVar("CompleteOthers", get_CompleteOthers, null);
L.RegVar("PlayNow", get_PlayNow, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例4: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(UnityEngine.Space));
L.RegVar("World", get_World, null);
L.RegVar("Self", get_Self, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例5: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(UnityEngine.PlayMode));
L.RegVar("StopSameLayer", get_StopSameLayer, null);
L.RegVar("StopAll", get_StopAll, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例6: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(UnityEngine.BlendWeights));
L.RegVar("OneBone", get_OneBone, null);
L.RegVar("TwoBones", get_TwoBones, null);
L.RegVar("FourBones", get_FourBones, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例7: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(UnityEngine.LightType));
L.RegVar("Spot", get_Spot, null);
L.RegVar("Directional", get_Directional, null);
L.RegVar("Point", get_Point, null);
L.RegVar("Area", get_Area, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例8: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(UnityEngine.CameraClearFlags));
L.RegVar("Skybox", get_Skybox, null);
L.RegVar("Color", get_Color, null);
L.RegVar("SolidColor", get_SolidColor, null);
L.RegVar("Depth", get_Depth, null);
L.RegVar("Nothing", get_Nothing, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例9: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(UnityEngine.WrapMode));
L.RegVar("Once", get_Once, null);
L.RegVar("Loop", get_Loop, null);
L.RegVar("PingPong", get_PingPong, null);
L.RegVar("Default", get_Default, null);
L.RegVar("ClampForever", get_ClampForever, null);
L.RegVar("Clamp", get_Clamp, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例10: Register
public static void Register(LuaState L)
{
L.BeginEnum(typeof(LeanTweenType));
L.RegVar("notUsed", get_notUsed, null);
L.RegVar("linear", get_linear, null);
L.RegVar("easeOutQuad", get_easeOutQuad, null);
L.RegVar("easeInQuad", get_easeInQuad, null);
L.RegVar("easeInOutQuad", get_easeInOutQuad, null);
L.RegVar("easeInCubic", get_easeInCubic, null);
L.RegVar("easeOutCubic", get_easeOutCubic, null);
L.RegVar("easeInOutCubic", get_easeInOutCubic, null);
L.RegVar("easeInQuart", get_easeInQuart, null);
L.RegVar("easeOutQuart", get_easeOutQuart, null);
L.RegVar("easeInOutQuart", get_easeInOutQuart, null);
L.RegVar("easeInQuint", get_easeInQuint, null);
L.RegVar("easeOutQuint", get_easeOutQuint, null);
L.RegVar("easeInOutQuint", get_easeInOutQuint, null);
L.RegVar("easeInSine", get_easeInSine, null);
L.RegVar("easeOutSine", get_easeOutSine, null);
L.RegVar("easeInOutSine", get_easeInOutSine, null);
L.RegVar("easeInExpo", get_easeInExpo, null);
L.RegVar("easeOutExpo", get_easeOutExpo, null);
L.RegVar("easeInOutExpo", get_easeInOutExpo, null);
L.RegVar("easeInCirc", get_easeInCirc, null);
L.RegVar("easeOutCirc", get_easeOutCirc, null);
L.RegVar("easeInOutCirc", get_easeInOutCirc, null);
L.RegVar("easeInBounce", get_easeInBounce, null);
L.RegVar("easeOutBounce", get_easeOutBounce, null);
L.RegVar("easeInOutBounce", get_easeInOutBounce, null);
L.RegVar("easeInBack", get_easeInBack, null);
L.RegVar("easeOutBack", get_easeOutBack, null);
L.RegVar("easeInOutBack", get_easeInOutBack, null);
L.RegVar("easeInElastic", get_easeInElastic, null);
L.RegVar("easeOutElastic", get_easeOutElastic, null);
L.RegVar("easeInOutElastic", get_easeInOutElastic, null);
L.RegVar("easeSpring", get_easeSpring, null);
L.RegVar("easeShake", get_easeShake, null);
L.RegVar("punch", get_punch, null);
L.RegVar("once", get_once, null);
L.RegVar("clamp", get_clamp, null);
L.RegVar("pingPong", get_pingPong, null);
L.RegVar("animationCurve", get_animationCurve, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
示例11: Register
//.........这里部分代码省略.........
L.RegVar("Joystick4Button3", get_Joystick4Button3, null);
L.RegVar("Joystick4Button4", get_Joystick4Button4, null);
L.RegVar("Joystick4Button5", get_Joystick4Button5, null);
L.RegVar("Joystick4Button6", get_Joystick4Button6, null);
L.RegVar("Joystick4Button7", get_Joystick4Button7, null);
L.RegVar("Joystick4Button8", get_Joystick4Button8, null);
L.RegVar("Joystick4Button9", get_Joystick4Button9, null);
L.RegVar("Joystick4Button10", get_Joystick4Button10, null);
L.RegVar("Joystick4Button11", get_Joystick4Button11, null);
L.RegVar("Joystick4Button12", get_Joystick4Button12, null);
L.RegVar("Joystick4Button13", get_Joystick4Button13, null);
L.RegVar("Joystick4Button14", get_Joystick4Button14, null);
L.RegVar("Joystick4Button15", get_Joystick4Button15, null);
L.RegVar("Joystick4Button16", get_Joystick4Button16, null);
L.RegVar("Joystick4Button17", get_Joystick4Button17, null);
L.RegVar("Joystick4Button18", get_Joystick4Button18, null);
L.RegVar("Joystick4Button19", get_Joystick4Button19, null);
L.RegVar("Joystick5Button0", get_Joystick5Button0, null);
L.RegVar("Joystick5Button1", get_Joystick5Button1, null);
L.RegVar("Joystick5Button2", get_Joystick5Button2, null);
L.RegVar("Joystick5Button3", get_Joystick5Button3, null);
L.RegVar("Joystick5Button4", get_Joystick5Button4, null);
L.RegVar("Joystick5Button5", get_Joystick5Button5, null);
L.RegVar("Joystick5Button6", get_Joystick5Button6, null);
L.RegVar("Joystick5Button7", get_Joystick5Button7, null);
L.RegVar("Joystick5Button8", get_Joystick5Button8, null);
L.RegVar("Joystick5Button9", get_Joystick5Button9, null);
L.RegVar("Joystick5Button10", get_Joystick5Button10, null);
L.RegVar("Joystick5Button11", get_Joystick5Button11, null);
L.RegVar("Joystick5Button12", get_Joystick5Button12, null);
L.RegVar("Joystick5Button13", get_Joystick5Button13, null);
L.RegVar("Joystick5Button14", get_Joystick5Button14, null);
L.RegVar("Joystick5Button15", get_Joystick5Button15, null);
L.RegVar("Joystick5Button16", get_Joystick5Button16, null);
L.RegVar("Joystick5Button17", get_Joystick5Button17, null);
L.RegVar("Joystick5Button18", get_Joystick5Button18, null);
L.RegVar("Joystick5Button19", get_Joystick5Button19, null);
L.RegVar("Joystick6Button0", get_Joystick6Button0, null);
L.RegVar("Joystick6Button1", get_Joystick6Button1, null);
L.RegVar("Joystick6Button2", get_Joystick6Button2, null);
L.RegVar("Joystick6Button3", get_Joystick6Button3, null);
L.RegVar("Joystick6Button4", get_Joystick6Button4, null);
L.RegVar("Joystick6Button5", get_Joystick6Button5, null);
L.RegVar("Joystick6Button6", get_Joystick6Button6, null);
L.RegVar("Joystick6Button7", get_Joystick6Button7, null);
L.RegVar("Joystick6Button8", get_Joystick6Button8, null);
L.RegVar("Joystick6Button9", get_Joystick6Button9, null);
L.RegVar("Joystick6Button10", get_Joystick6Button10, null);
L.RegVar("Joystick6Button11", get_Joystick6Button11, null);
L.RegVar("Joystick6Button12", get_Joystick6Button12, null);
L.RegVar("Joystick6Button13", get_Joystick6Button13, null);
L.RegVar("Joystick6Button14", get_Joystick6Button14, null);
L.RegVar("Joystick6Button15", get_Joystick6Button15, null);
L.RegVar("Joystick6Button16", get_Joystick6Button16, null);
L.RegVar("Joystick6Button17", get_Joystick6Button17, null);
L.RegVar("Joystick6Button18", get_Joystick6Button18, null);
L.RegVar("Joystick6Button19", get_Joystick6Button19, null);
L.RegVar("Joystick7Button0", get_Joystick7Button0, null);
L.RegVar("Joystick7Button1", get_Joystick7Button1, null);
L.RegVar("Joystick7Button2", get_Joystick7Button2, null);
L.RegVar("Joystick7Button3", get_Joystick7Button3, null);
L.RegVar("Joystick7Button4", get_Joystick7Button4, null);
L.RegVar("Joystick7Button5", get_Joystick7Button5, null);
L.RegVar("Joystick7Button6", get_Joystick7Button6, null);
L.RegVar("Joystick7Button7", get_Joystick7Button7, null);
L.RegVar("Joystick7Button8", get_Joystick7Button8, null);
L.RegVar("Joystick7Button9", get_Joystick7Button9, null);
L.RegVar("Joystick7Button10", get_Joystick7Button10, null);
L.RegVar("Joystick7Button11", get_Joystick7Button11, null);
L.RegVar("Joystick7Button12", get_Joystick7Button12, null);
L.RegVar("Joystick7Button13", get_Joystick7Button13, null);
L.RegVar("Joystick7Button14", get_Joystick7Button14, null);
L.RegVar("Joystick7Button15", get_Joystick7Button15, null);
L.RegVar("Joystick7Button16", get_Joystick7Button16, null);
L.RegVar("Joystick7Button17", get_Joystick7Button17, null);
L.RegVar("Joystick7Button18", get_Joystick7Button18, null);
L.RegVar("Joystick7Button19", get_Joystick7Button19, null);
L.RegVar("Joystick8Button0", get_Joystick8Button0, null);
L.RegVar("Joystick8Button1", get_Joystick8Button1, null);
L.RegVar("Joystick8Button2", get_Joystick8Button2, null);
L.RegVar("Joystick8Button3", get_Joystick8Button3, null);
L.RegVar("Joystick8Button4", get_Joystick8Button4, null);
L.RegVar("Joystick8Button5", get_Joystick8Button5, null);
L.RegVar("Joystick8Button6", get_Joystick8Button6, null);
L.RegVar("Joystick8Button7", get_Joystick8Button7, null);
L.RegVar("Joystick8Button8", get_Joystick8Button8, null);
L.RegVar("Joystick8Button9", get_Joystick8Button9, null);
L.RegVar("Joystick8Button10", get_Joystick8Button10, null);
L.RegVar("Joystick8Button11", get_Joystick8Button11, null);
L.RegVar("Joystick8Button12", get_Joystick8Button12, null);
L.RegVar("Joystick8Button13", get_Joystick8Button13, null);
L.RegVar("Joystick8Button14", get_Joystick8Button14, null);
L.RegVar("Joystick8Button15", get_Joystick8Button15, null);
L.RegVar("Joystick8Button16", get_Joystick8Button16, null);
L.RegVar("Joystick8Button17", get_Joystick8Button17, null);
L.RegVar("Joystick8Button18", get_Joystick8Button18, null);
L.RegVar("Joystick8Button19", get_Joystick8Button19, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}