文档

Unity Engine

Unity Engine

RemoveComponent<T>()

Removes the attached component of type T.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void RemoveComponent<T>() where T : struct, IVisualElementComponent