hey guys i need script for , to make object invisible for a time , like when i click on ’ key G’ the object get invisible and after 3 seconds it gets visible again , help please , thanks.
1 Answer
1I’m pretty noob so i cant answer at 100%
but you should try something like this :
function Update () {
if (Input.GetKey ("g"))
renderer.enabled = true);
}
Do not ask for scripts. Try to learn on your own first.
– LightSourcefor timers, use Invoke(). 10000s of questions on here about it
– Fattie