Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

void on trigger enter 2d

void OnTriggerEnter2D(Collider2D col)
{
	Debug.Log("Triguuer-collision");
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity get layer of gameobject 
Csharp :: C# open a new form 
Csharp :: c# new thread 
Csharp :: how t remove a component in unity 
Csharp :: unity check if number is multiple of x 
Csharp :: how to detect collision in unity 
Csharp :: unity 2d how to set an object or the mouse position 
Csharp :: get self component in unity 
Csharp :: blazor get current url 
Csharp :: c# AllowSynchronousIO to true 
Csharp :: unity player look at mouse 
Csharp :: play a sound c# 
Csharp :: raycast shoot unity 
Csharp :: c# append to file 
Csharp :: unity change sprite source image 
Csharp :: find closest gameobject unity 
Csharp :: c# cast string to double 
Csharp :: unity add explosion force 
Csharp :: c# difference between break and continue 
Csharp :: move in the direction that player is facing unity 
Csharp :: how to get random numbers in c# 
Csharp :: how to change the extension of a file C# 
Csharp :: asp.net core 3.1: cast jObject to dictionary<string,string 
Csharp :: unity projectile spread 
Csharp :: set mouse over colors for button wpf 
Csharp :: mvc select list order by 
Csharp :: get current directory cosmos 
Csharp :: xamarin picker item 
Csharp :: how to open any file on button click in winforms 
Csharp :: C# inline question mark on object 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =