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

Player Layer Error #41

Open
mastery9909 opened this issue Jun 16, 2021 · 0 comments
Open

Player Layer Error #41

mastery9909 opened this issue Jun 16, 2021 · 0 comments

Comments

@mastery9909
Copy link

the Error says "A game object can only be in one layer. The layer needs to be in range [0....3]". The code is

void AssignRemoteLayer()
{
gameObject.layer = LayerMask.NameToLayer (remoteLayerName);
}

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