Answers for "how to remove a component from an object in unity"

C#
12

how to remove a component from an object in unity

Destroy(GetComponent<TheComponentYouWantToDestroy>());
Posted by: Guest on July-28-2020
6

unity remove component in script

Destroy (gameObject);
Posted by: Guest on July-25-2020

Code answers related to "how to remove a component from an object in unity"

C# Answers by Framework

Browse Popular Code Answers by Language