Hi, I have a cube when touchdown change a its material but when is touchUp should disappear, and come back when touchdown again. So I tried (myCube.SetActive(false)
and (Destroy(myCube)); both make MyCube disappear and I can not use again. help…
Try myCube.renderer.enabled = false; to disable it and my cube.renderer.enabled = true; to enable it again.
Hi Jade, I suppose you have the script working already, and the only problem is to make myCube reappears, so try this copy this to your touchdown method:
myCube.SetActive(true);
Let me know if works for you…