Skip to content

请教关于FJsEnvImpl::TryBindJs中的判断逻辑 #1848

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

You must be logged in to vote

不是什么UE的机制,是你理解有误。
Cast失败表示Class不是UTypeScriptGeneratedClass的实例。
Class == UTypeScriptGeneratedClass::StaticClass表示InObject是UTypeScriptGeneratedClass的实例。

Replies: 1 comment 1 reply

Comment options

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

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