Posts by Charlles Rafael • 1 point
1 post
-
0
votes1
answer82
viewsA: Nullreferenceexception Unity 3D
okay, let’s go there : Laser laser = GameObject.Find("laser").GetComponent(); // aki o seu gameObject tem o nome "lazer" sempre?? laser.LaserBoost();//isso aki da erro se o laser estiver null, que…