Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.想问一下在lua里怎么用类似蓝图的cast的功能,或许只要一个isType接口? 2.在lua里能用蓝图类似Delay接口吗? #34

Closed
ZuoEr opened this issue Nov 16, 2018 · 9 comments

Comments

@ZuoEr
Copy link

ZuoEr commented Nov 16, 2018

No description provided.

@pangweiwei
Copy link
Collaborator

不明白你问什么

@ZuoEr
Copy link
Author

ZuoEr commented Nov 19, 2018

1.就是在蓝图里是可以用cast判断对象的类型的,在lua里应该调用哪个方法判断类型?
2.lua里能用蓝图的Delay接口吗?

@ZuoEr
Copy link
Author

ZuoEr commented Nov 19, 2018

2.lua里实现蓝图的Delay接口应该怎么做?

@ZuoEr
Copy link
Author

ZuoEr commented Nov 20, 2018

大佬求解答呀,感觉应该建一个qq群套路会更高效。

@pangweiwei
Copy link
Collaborator

有qq群15647305

@pangweiwei
Copy link
Collaborator

你需要用lua的思考方式来使用,而不是把blueprint用lua写。

@ZuoEr
Copy link
Author

ZuoEr commented Nov 20, 2018

嗯,但是类型判断的接口还是要有的吧?lua里用什么方法判断ue的对象类型呢?

@pangweiwei
Copy link
Collaborator

太多方法了,比如getclass()->getname

@ZuoEr
Copy link
Author

ZuoEr commented Nov 22, 2018

多谢解答,我知道了,在C++导出这样一个方法给lua就可以了哈,可以把这个issue关闭了哈,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants