AddAdditionalSettings<T>(T)
Adds a new IAdditionalSettings to this Scene view.
読み終わるまでの所要時間 1 分最終更新 24日前
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.