I try this:
void OnCollisionEnter(Collision col)
void OnCollisionEnter(Collision col)
{
situationjump = (""+gameObject.name ""+col.gameObject.name);
}
But I get an error
Error 3 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
↧