Skip to content

[unreal] 使用Mixin方案,使用super会出现错误 #930

Answered by chexiongsheng
aihao2000 asked this question in Q&A
Discussion options

You must be logged in to vote

js调用父类,父类是UE类型,UE的规则是调用子类,于是又调用js,所有死循环。

其次,mixin不是继承,早在mixin出来前继承已经存在几十年了,如果mixin是继承,就没必要折腾个新别名。

我的例子用得也是一个POD类型。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lance3d
Comment options

Answer selected by aihao2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants