Am stuck help me pls

Updated on June 11, 2017 in  [R] Scripts
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on June 11, 2017

Hello i watched this video: How to make a Video Game in Unity – COLLISION (E05) 

i did same steps in video but i am stuck here: 

What i don’t under stand i have and error on this code Debug.Log (;

Assets/Collision.cs(7,28): error CS0619: `UnityEngine.Component.collider’ is obsolete: `Property collider has been deprecated. Use GetComponent<Collider>() instead. (UnityUpgradable)’


couldn’t figure it out by the way i am using monodevolper for scripting


using UnityEngine;

public class Collision : MonoBehaviour {

void OnCollisionEnter (Collision collisionInfo) {

Debug.Log (;



  • Liked by
0 on June 11, 2017

What Unity version are you at? If it’s Unity 5 or greater move to a different series. The make a game series is outdated

  • Liked by