I I was following this Beginner Programming Series when i couldent replicate what he did. Please Help
im getting this error: NullReferenceException: Object reference not set to an instance of an object TriggerEventGameObject.OnTriggerEnter (UnityEngine.Collider other) (at Assets/TriggerEventGameObject.cs:21)
You're not providing sufficient information. We need to see the inspector for the object the script is part of. Do you have an object selected in the field in the inspector? Do you have an object with the tag "Cube"?
You have a private tag and a public tag, one has to be assigned (moved to cube1) using tag "player" in inspector. As cube 2 is tag "cube". Also assign this if possible. Are the gameobjects set to IS Trigger in inspector (tick box), check the video for these things. What tutorial is it?
Ugh. The answer was right in my face in the first place. Sorry about that. Try setting the "s" in "start" to uppercase.