- Home /
This question was
closed Apr 07, 2013 at 08:44 PM by
Fattie for the following reason:
Duplicate Question
Question by
Maisonadam1994 · Apr 07, 2013 at 03:14 PM ·
timeinvisiblevisible
get object invisible for couple seconds and get visible again
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.
Comment
for timers, use Invoke(). 10000s of questions on here about it
Best Answer
Answer by lithiumsound · Apr 07, 2013 at 04:20 PM
I'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);
}
Follow this Question
Related Questions
Digital clock 1 Answer
Invisible objects renderer disable? How to stop this? 0 Answers
simple shooting script help 3 Answers
Converting C# to JS: rendering a mesh 1 Answer
problem with the digits of my timer 1 Answer