Posts by Nitecki • 41 points
7 posts
-
-1
votes2
answers58
viewsQ: Object Reference not set to an instance of Object
Good evening, I’m trying to take a function that be in another script and pass it to a button, only to be giving this error that be in the title. int indice; public Button Ant; public ScriptName…
-
2
votes0
answers109
viewsQ: Lighting, Neon Unity 3D
Well, I’ve been trying for several days to do a generic neon like the image below, but without success, someone who knows how to handle Shader can help me? I wanted the neon to be the same or near…
-
0
votes1
answer106
viewsQ: Unity C#Object Selection
Well, I’ll get to the point, could give me a force in this script I’m doing, it selects using buttons -1 and 1, until it works more the previous gets bugged using System.Collections; using…
-
0
votes0
answers73
viewsQ: Doubt about c# int [-1,1]
Good person, I made a script where he exchanges objects with setactive in int connected to onclick buttons 1,2,3,4 and so on I ask help from you to change the int to -1.1 on the onclick buttons the…
-
0
votes1
answer990
viewsQ: Enable and disable Children gameobject c#
Well I made a script where activate and disable in a gameobject, I wanted to know how to activate and deactivate children also within this script using System.Collections; using…
-
1
votes1
answer487
viewsQ: Questions about Script Coroutine c#
I made a script along with the coroutine, but it kind of doesn’t work without error My real intention is to make the button have a delay of up to 10 seconds before transitioning to another song…
-
0
votes2
answers335
viewsQ: How to specify object in getcomponent?
How do I specify each object in the getcomponent? I made this script, but I can’t specify for each animator. using System.Collections; using System.Collections.Generic; using UnityEngine; public…