AddAdditionalSettings<T>(T)
Adds a new IAdditionalSettings to this Scene view.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public void AddAdditionalSettings<T>(T settings) where T : class, SceneView.IAdditionalSettings
Parameters
The specific SceneView.IAdditionalSettings instance to add to the Scene view.
Remarks
You can only have one SceneView.IAdditionalSettings per RenderPipelineAsset type. If you add another IAdditionalSettings, Unity overrides the existing one. For a complete example using this method, refer to SceneView.AdditionalSettings<TRenderPipelineAsset, TLinkedComponent> and SceneViewCameraWindow.createAdditionalSettingsGUI.