UnityEngine_UI_Slider_SliderEventWrap.cs 988 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class UnityEngine_UI_Slider_SliderEventWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(UnityEngine.UI.Slider.SliderEvent), typeof(UnityEngine.Events.UnityEvent<float>), "SliderEvent");
  9. L.RegFunction("New", _CreateUnityEngine_UI_Slider_SliderEvent);
  10. L.RegFunction("__tostring", ToLua.op_ToString);
  11. L.EndClass();
  12. }
  13. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  14. static int _CreateUnityEngine_UI_Slider_SliderEvent(IntPtr L)
  15. {
  16. try
  17. {
  18. int count = LuaDLL.lua_gettop(L);
  19. if (count == 0)
  20. {
  21. UnityEngine.UI.Slider.SliderEvent obj = new UnityEngine.UI.Slider.SliderEvent();
  22. ToLua.PushObject(L, obj);
  23. return 1;
  24. }
  25. else
  26. {
  27. return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UnityEngine.UI.Slider.SliderEvent.New");
  28. }
  29. }
  30. catch (Exception e)
  31. {
  32. return LuaDLL.toluaL_exception(L, e);
  33. }
  34. }
  35. }