Horje
on collision enter by layer 2d unity Code Example
on collision enter by layer 2d unity
     void OnCollisionEnter(Collision collision)
     {
         if (collision.gameObject.layer == 8/*the layer number*/ )
             debug.log(collision.gameObject.layer.number.ToString() "touched")
	}




Csharp

Related
how to create public variable in c# Code Example how to create public variable in c# Code Example
c# add strings Code Example c# add strings Code Example
c# string right extension Code Example c# string right extension Code Example
wpf textblock line break code behind Code Example wpf textblock line break code behind Code Example
c# bitmap to array byte Code Example c# bitmap to array byte Code Example

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