public static void ShowNotice(string mes) { if (instance) { instance.Show(mes, ToastType.Notification); } else { Debug.LogWarning("[UIToast] instance NULL"); } }
static int Show(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); string arg0 = ToLua.CheckString(L, 1); UIToast.Show(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }