Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

NullReferenceException: Object reference not set to an instance of an object Enemy.OnTriggerEnter2D

Need help on this error:

NullReferenceException: Object reference not set to an instance of an object

Enemy.OnTriggerEnter2D (UnityEngine.Collider2D other) (at Assets/Enemy.cs:41)


Code:


Sign In or Register to comment.