Brackeys / MultiplayerFPS-Tutorial

A video series on making a multiplayer first-person shooter in Unity.
The Unlicense
657 stars 287 forks source link

1 issue #13

Open SbaaHamza opened 7 years ago

SbaaHamza commented 7 years ago

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 commented 6 years ago

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.