DestroyUIPrefab() public method

public DestroyUIPrefab ( GameObject go ) : void
go GameObject
return void
コード例 #1
0
 static int DestroyUIPrefab(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GameResFactory         obj  = (GameResFactory)ToLua.CheckObject(L, 1, typeof(GameResFactory));
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject));
         obj.DestroyUIPrefab(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }