Interface IRemoveAdditionalDataContextualMenu<T>
Interface that should be used with [ScriptableRenderPipelineExtension(type))] attribute to dispatch ContextualMenu calls on the different SRPs
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[Obsolete("The menu items are handled automatically for components with the AdditionalComponentData attribute. #from(2022.2)", false)]
public interface IRemoveAdditionalDataContextualMenu<T> where T : Component
Type Parameters
Name | Description |
---|---|
T | This must be a component that require AdditionalData in your SRP |
Methods
Name | Description |
---|---|
RemoveComponent(T, IEnumerable<Component>) | Remove the given component |