Okay… So, on my map i have a box that when i click it, it disappears. This script looks like this:
function OnMouseDown(){
Destroy(gameObject);
}
I need a GUI Text to appear after the box disappears saying “Collected: Box” and then the GUI text to disappear a few seconds later. How do i do this. Im so lost and stuck.
Please dont post the same thing in multiple sections.
If that is the extent of the scripting on your project and this is what is stumping you then I would suggest learning the basics by doing the supplied tutorials and checking the arsenal of information supplied on this site related to unity scripting before moving any further. Or get a visual scripting tool.