Hi, guys! I'm starting to develop in Unity and I came across this error and I don't know how to solve it:
"NullReferenceException: Object reference not set to an instance of an object
BulletSetup.Start () (at Assets/Scripts/BulletSetup.cs:54)"
BulletSetup.cs
NullReferenceException in C#
"NullReferenceException: Object reference not set to an instance of an object
BulletSetup.Start () (at Assets/Scripts/BulletSetup.cs:54)"
BulletSetup.cs
Code (CSharp):
- private float xVelocity;
- private float yVelocity;
- private float shotAngle;
- private float xWindVelocity;
- private float yWindVelocity;
- private float...