unity remove component in editor code example Example: unity remove component //Use Destroy() for removing components