good day !! ..help please .. how to add time when the character destroy the object ..
2- how to disapper the guitexture after seconds. ? not the gameobject ..
3- how to disappear the GUITexture when the gameobject destroy? for example .. when the character destroy the object the guitexture will appear but after 5 seconds the guitexture will disappear .. thx ..!
function OnTriggerEnter (other : Collider) { Destroy(gameObject); gameObject.Find("balisong").GetComponent("GUITexture").enabled = true; }-this is my code when i destroy the object. Where i place the code of adding time . and how? thank you so much COMMENTS POSTED AS ANSWERS AND MOVED HERE/DELETED (by aldonaletto): 1- thankyou ! i'll try it :)
2- how to disapper the guitexture after seconds. ? not the gameobject ..
3- how to disappear the GUITexture when the gameobject destroy? for example .. when the character destroy the object the guitexture will appear but after 5 seconds the guitexture will disappear .. thx ..!