Esempio n. 1
0
 static int ChangeClothes(IntPtr L)
 {
     try
     {
         int count = LuaDLL.lua_gettop(L);
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.GameObject));
         string[] arg1 = ToLua.CheckParamsString(L, 2, count - 1);
         DressPart.ChangeClothes(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Esempio n. 2
0
 public void Merge()
 {
     DressPart.ChangeClothes(gameObject, dressParts);
 }