Horje
how to detect collision in unity Code Example
how to detect collision in unity
void OnCollisionEnter(Collision collision)
{
	if(collision.gameObject.tag == "yourNameOfObject")
    {
    	//This is example
        Debug.Log("Hit Object");
        //code your thing here
    }
}
check for collision unity c#
void OnCollisionEnter(Collision col) { }




Csharp

Related
fade text unity Code Example fade text unity Code Example
unity change text Code Example unity change text Code Example
c# get current date Code Example c# get current date Code Example
unity save list to json Code Example unity save list to json Code Example
how to move mouse in game c# Code Example how to move mouse in game c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10