public static int  obj_new(long L)
    {
        long nPtr = FCGetObj.NewObj <Light>();
        long ret  = FCLibHelper.fc_get_return_ptr(L);

        FCLibHelper.fc_set_value_intptr(ret, nPtr);
        return(0);
    }
示例#2
0
    public static int  obj_new(long L)
    {
        long nPtr = FCGetObj.NewObj <UnityEngine.Component>();
        long ret  = FCLibHelper.fc_get_return_ptr(L);

        FCLibHelper.fc_set_value_wrap_objptr(ret, nPtr);
        return(0);
    }
示例#3
0
    public static int  obj_new(long L)
    {
        long nPtr = FCGetObj.NewObj <UserClass>();
        long ret  = FCLibHelper.fc_get_return_ptr(L);

        FCLibHelper.fc_set_value_wrap_objptr(ret, nPtr);
        return(0);
    }
    public static int  obj_new(long L)
    {
        long nPtr = FCGetObj.NewObj <UnityEngine.Animation>();
        long ret  = FCLibHelper.fc_get_return_ptr(L);
        long VM   = FCLibHelper.fc_get_vm_ptr(L);

        FCLibHelper.fc_set_value_wrap_objptr(VM, ret, nPtr);
        return(0);
    }