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

Vector2的+=方法无法正确赋值 #331

Closed
luojingzhao opened this issue May 14, 2020 · 0 comments
Closed

Vector2的+=方法无法正确赋值 #331

luojingzhao opened this issue May 14, 2020 · 0 comments

Comments

@luojingzhao
Copy link

Case:

public void Main()
{
	UnityEngine.Vector2 test = new UnityEngine.Vector2(0, 0);
    test.y += 10;
    UnityEngine.Debug.Log(test.y);
}

输出结果为 test.y = 0;

将"UnityEngine_Vector2_Binding"删除掉可得到正确结果

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

1 participant