RemoveComponent
Removes a component of type T from a given build profile.
읽는 시간 1분최근 업데이트: 15시간 전
Definition
- Type: Method
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.CoreModule
RemoveComponent<T>()
Removes a component of type from a given build profile.
Tpublic void RemoveComponent<T>() where T : Object
Remarks
When you remove BuildProfileGraphicsSettings or BuildProfileQualitySettings, the build profile uses the global graphics settings or quality levels again. Unity destroys the removed object.
Note: This method is restricted to ScriptableObject types and doesn't support all settings visible in the Build Profiles window. To remove PlayerSettings, use the Build Profiles window.
RemoveComponent<T>(T)
Removes a component of type from a given build profile.
Tpublic void RemoveComponent<T>(T objectToRemove) where T : Object
Parameters
Remarks
When you remove BuildProfileGraphicsSettings or BuildProfileQualitySettings, the build profile uses the global graphics settings or quality levels again. Unity destroys the removed object.
Note: This method is restricted to ScriptableObject types and doesn't support all settings visible in the Build Profiles window. To remove PlayerSettings, use the Build Profiles window.