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 issue #13

Open
SbaaHamza opened this issue Jun 29, 2017 · 1 comment
Open

1 issue #13

SbaaHamza opened this issue Jun 29, 2017 · 1 comment

Comments

@SbaaHamza
Copy link

Hello,
When i press play in the main scene it unity gives me this issue. Please help!
I work with unity 5.6.2f1

1
2

@cesarchamorro
Copy link

Hey man, the issue is that you must do something like this:

var col=m_CollisionEvents[i].GetComponent();

This is the correct line, because unity is telling you that use .collider is obsoleted, so for that version of unity that you're using you have to use .GetComponent()

Let me know if this answer helped you to fix your 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