`

UE4 的 multiple inheritance with UClass 实现

阅读更多

 

trying to extend a class from two AClass to add some attributes and methods to it. but it compile error.

 

UCLASS classes can not have multiple inherited classes, except for interfaces.

So each UCLASS can only have one direct inherited class and as many interfaces (UINTERFACE) classes as you want.

 

https://wiki.unrealengine.com/Interfaces_in_C%2B%2B

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics