Hey! I’m really REALLY new to unity and I don’t know alot about coding. I am just wondering if I can Loop a Setactive for an object?
In code you can loop anything you want.
Well, give it a try, let us know how it comes out.
Well, thats not really what i meant. What i meant to say is that I dont understand looping and I was requesting help
Help with what part? It’s hard for a stranger to write somebody a loop.
Try this structure for reporting technical issues to strangers:
How to report your problem productively in the Unity3D forums:
This is the bare minimum of information to report:
- what you want
- what you tried
- what you expected to happen
- what actually happened, log output, variable values, and especially any errors you see
- links to actual Unity3D documentation you used to cross-check your work (CRITICAL!!!)
The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven’t put effort into finding the documentation, why should we bother putting effort into replying?
If you don’t know how to write a loop and how to use .SetActive() on a GameObject reference, go do some tutorials for basic Unity coding.
Two steps to tutorials and / or example code:
- do them perfectly, to the letter (zero typos, including punctuation and capitalization)
- stop and understand each step to understand what is going on.
If you go past anything that you don’t understand, then you’re just mimicking what you saw without actually learning, essentially wasting your own time. It’s only two steps. Don’t skip either step.
Working step by step can be very helpful:
Imphenzia: How Did I Learn To Make Games:
Thanks man. i’ll try that