示例#1
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(ImageToLua.LuaSetSprite);
     luaRuntime.RegLuaBridgeFunction(ImageToLua.LuaSetSpriteAsync);
     luaRuntime.RegLuaBridgeFunction(ImageToLua.LuaSetSpriteAtlas);
     luaRuntime.RegLuaBridgeFunction(ImageToLua.LuaSetSpriteAtlasAsync);
 }
示例#2
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(DropdownToLua.LuaGetValue);
     luaRuntime.RegLuaBridgeFunction(DropdownToLua.LuaAddOption);
     luaRuntime.RegLuaBridgeFunction(DropdownToLua.LuaClearOptions);
     luaRuntime.RegLuaBridgeFunction(DropdownToLua.LuaAddClick);
     luaRuntime.RegLuaBridgeFunction(DropdownToLua.LuaGetOption);
 }
示例#3
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(GiantVoicePlayerToLua.RegisterPlayVoiceFunction);
     luaRuntime.RegLuaBridgeFunction(GiantVoicePlayerToLua.RegisterStopVoiceFunction);
     luaRuntime.RegLuaBridgeFunction(GiantVoicePlayerToLua.SetVoiceWords);
     luaRuntime.RegLuaBridgeFunction(GiantVoicePlayerToLua.SetRecordTime);
     luaRuntime.RegLuaBridgeFunction(GiantVoicePlayerToLua.SetVoiceBarLength);
 }
示例#4
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(InputFieldToLua.LuaGetText);
     luaRuntime.RegLuaBridgeFunction(InputFieldToLua.LuaSetText);
     luaRuntime.RegLuaBridgeFunction(InputFieldToLua.LuaGetInputType);
     luaRuntime.RegLuaBridgeFunction(InputFieldToLua.LuaSetInputType);
     luaRuntime.RegLuaBridgeFunction(InputFieldToLua.LuaGetKeyboardType);
     luaRuntime.RegLuaBridgeFunction(InputFieldToLua.LuaSetKeyboardType);
     luaRuntime.RegLuaBridgeFunction(InputFieldToLua.LuaGetLineType);
     luaRuntime.RegLuaBridgeFunction(InputFieldToLua.LuaSetLineType);
 }
示例#5
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(LabelToLua.LuaGetText);
     luaRuntime.RegLuaBridgeFunction(LabelToLua.LuaSetText);
     luaRuntime.RegLuaBridgeFunction(LabelToLua.LuaGetTextColor);
     luaRuntime.RegLuaBridgeFunction(LabelToLua.LuaSetTextColor);
     luaRuntime.RegLuaBridgeFunction(LabelToLua.LuaGetFontSize);
     luaRuntime.RegLuaBridgeFunction(LabelToLua.LuaSetFontSize);
     luaRuntime.RegLuaBridgeFunction(LabelToLua.LuaSetHrefClick);
 }
示例#6
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     /*luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.StartRecordVoice);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.StopRecordVoice);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.CancelRecordVoice);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.PlayVoice);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.PauseVoice);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.ResumeVoice);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.StopVoice);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.SetPlayVolume);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.GetCurrentPlayPosition);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.IsRecording);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.IsVoicePlaying);
      * luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.IsVoicePause);*/
     luaRuntime.RegLuaBridgeFunction(GiantVoiceToLua.Clear);
 }
示例#7
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(UISystemToLua.LuaCreateWindow);
     luaRuntime.RegLuaBridgeFunction(UISystemToLua.LuaCreateWindowAsync);
 }
示例#8
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(SliderToLua.LuaGetValue);
     luaRuntime.RegLuaBridgeFunction(SliderToLua.LuaSetValue);
 }
示例#9
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(ImageAnimationToLua.LuaPlaySpriteAnimation);
     luaRuntime.RegLuaBridgeFunction(ImageAnimationToLua.LuaPauseSpriteAnimation);
     luaRuntime.RegLuaBridgeFunction(ImageAnimationToLua.LuaSetSpriteAnimation);
 }
示例#10
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaGetVisible);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaSetVisible);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaGetUserData);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaSetUserData);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaFind);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaCloneElement);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaGetIndex);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaMoveToFirst);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaMoveToLast);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaMoveTo);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaOnClick);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaOnDragging);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaGetPosition);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaSetPosition);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaGetScale);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaSetScale);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaSetEulerAngles);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaGetEulerAngles);
     luaRuntime.RegLuaBridgeFunction(ElementToLua.LuaAddAnimation);
 }
示例#11
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(ScrollViewToLua.LuaGetItems);
     luaRuntime.RegLuaBridgeFunction(ScrollViewToLua.LuaScrollToBottom);
     luaRuntime.RegLuaBridgeFunction(ScrollViewToLua.LuaScrollToTop);
 }
示例#12
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(GameAnalyticsToLua.OnEvent);
 }
示例#13
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(GiantVoiceRecorderToLua.RegisterStopRecordFunction);
     luaRuntime.RegLuaBridgeFunction(GiantVoiceRecorderToLua.RegisterCancelRecordFunction);
 }
示例#14
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(TogglesToLua.LuaGetToggleOn);
     luaRuntime.RegLuaBridgeFunction(TogglesToLua.LuaSetToggleOn);
     luaRuntime.RegLuaBridgeFunction(TogglesToLua.LuaAddToggleChange);
 }
示例#15
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(ButtonToLua.LuaAddClick);
     luaRuntime.RegLuaBridgeFunction(ButtonToLua.LuaGetInteractable);
     luaRuntime.RegLuaBridgeFunction(ButtonToLua.LuaSetInteractable);
 }
示例#16
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(WindowToLua.LuaCloseWindow);
 }
示例#17
0
 public static void RegLuaBridgeFunction(ILuaRuntime luaRuntime)
 {
     luaRuntime.RegLuaBridgeFunction(ToggleToLua.LuaGetOn);
     luaRuntime.RegLuaBridgeFunction(ToggleToLua.LuaSetOn);
     luaRuntime.RegLuaBridgeFunction(ToggleToLua.LuaOnChange);
 }