我的github
posts - 3243,  comments - 42,  views - 158万

什么是UObject类?UObject有哪些属性?UObject有哪些方法?

参考:https://zhuanlan.zhihu.com/p/252431932

UObject,它是所有引擎层面、游戏层面对象的基类。

 

创建一个UObject类的继承类

复制代码
#pragma once

#include "CoreMinimal.h"
#include "Student.generated.h"

/**
*
*/
UCLASS()
class MYGAME1_API UStudent :public UObject
{
    GENERATED_BODY()
public:
    UStudent();
    ~UStudent();
};
复制代码

>>UClass是一个什么标识符?

>>NewObject:https://zhuanlan.zhihu.com/p/357510279?utm_id=0

posted on   XiaoNiuFeiTian  阅读(62)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
历史上的今天:
2021-09-26 axios发送post请求时设置headers
2021-09-26 表单标签<input type="checkbox"....提交表单
2021-09-26 Vue:label for/ v-text /{{}}区别
2015-09-26 OpenGL学习
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示