Пример #1
0
 static int RandomVectorInsideCone(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 1);
         float arg1            = (float)LuaDLL.luaL_checknumber(L, 2);
         UnityEngine.Vector3 o = UnGfx.RandomVectorInsideCone(arg0, arg1);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }