Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

how to make a partical system to destroy itself after it finishing

            GameObject explosion = Instantiate(_Explosion, transform.position, Quaternion.identity);
            Destroy(explosion, explosion.GetComponent<ParticleSystem>().main.duration);
Comment

PREVIOUS NEXT
Code Example
Csharp :: gcd c# 
Csharp :: an entry with the same key already exists asp net 
Csharp :: bluestacks unity black screen 
Csharp :: aabb collision with direction 
Csharp :: c# how to open file explorer 
Csharp :: get the current directory in unity 
Csharp :: how to get the ip asp.net mvc 
Csharp :: c# array remove first element 
Csharp :: clear array c# 
Csharp :: regex replace all special characters 
Csharp :: renaming table name entity framework code first fluent api 
Csharp :: get item from icollection 
Csharp :: exit a method c# 
Csharp :: cshtml foreach 
Csharp :: c# convert list to string 
Csharp :: unity change material 
Csharp :: How to read a XML on C# 
Csharp :: unity keycode 
Csharp :: rigidbody.addtorque 
Csharp :: csharp check if env is development 
Csharp :: c# unity follow object 
Csharp :: abril modal boostrap 
Csharp :: remove carriage returns from string c# 
Csharp :: content type application/json c# 
Csharp :: milliseconds to seconds c# 
Csharp :: list with two values c# 
Csharp :: how to make error sound c# 
Csharp :: get hard disk serial number 
Csharp :: linq distinct count 
Csharp :: asking for user input integer c# 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =