Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity destroy after time

    public float delay;
    void Start()
    {
        Destroy(gameObject,delay);  
    }
 
PREVIOUS NEXT
Tagged: #unity #destroy #time
ADD COMMENT
Topic
Name
3+8 =