Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        currentShowImgUI = this;
        successObject    = transform.FindChild("success").gameObject;
        successObject.SetActive(false);
        failureObject = transform.FindChild("failure").gameObject;
        failureObject.SetActive(false);

        DontDestroyOnLoad(transform.parent);
    }
Beispiel #2
0
 static int set_currentShowImgUI(IntPtr L)
 {
     try
     {
         ShowImgUI arg0 = (ShowImgUI)ToLua.CheckUnityObject(L, 2, typeof(ShowImgUI));
         ShowImgUI.currentShowImgUI = arg0;
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Beispiel #3
0
 static int ShowImage(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         bool arg0 = LuaDLL.luaL_checkboolean(L, 1);
         ShowImgUI.ShowImage(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }