it works when i walk behind an object, but it doesnt go back to fully visible when i go away from the object.
is there a simple solution for this, preferably in javascript(im using an older version of unity)? Any help would be appreciated! Thanx.
Since I assume you’re not too far along, it is highly suggested to stop using UnityScript and use C# instead.
The language you are using is being deprecated:
On the website: click on the “C#” button to view the example codes in C#
@BlackPete Hi again! I tried to do what you told me to, but i couldnt get it to work, could you please provide the code for it? i really dont understand how im supposed to do this.