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

修改ios反射bug. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

修改ios反射bug. #1

wants to merge 1 commit into from

Conversation

JinLiGame
Copy link

usdk中反射部分本意应该是只支持无参数和1个参数的函数。将unity传递来的多个参数封装到一个数组中作为反射的参数,根据SEL的语法得知:无参函数只需要函数名,1个参数的函数需要函数名+冒号,多个参数的函数需要函数名+多个冒号并且冒号之间需要参数标签,所以在解析SEL时需要根据参数个数来识别是否增加冒号,至于多个参数的情况在此处是没有必要的。

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

Successfully merging this pull request may close these issues.

None yet

2 participants