Hi.
I have this code, in JS and I want it to be replaced with a C# code that does exactly the same thing.
If someone can help me, i would apreciate very much.
Here is my code:
function OnTriggerEnter (other : Collider)
{
Debug.Log(“Se intampla ceva!!!”);
Destroy(other.gameObject);
}
Thank you.
I am new with Unity