Files
com.misaki.shader-gui/Editor/Contracts/IMaterialUIScopeContainer.cs
Misaki 8250bc128d Added new KeywordEnumTypeDrawer;
Added new method to use generic to add ui scope
2025-08-17 13:01:40 +09:00

20 lines
533 B
C#

using System.Collections.Generic;
using UnityEditor;
namespace Misaki.ShaderGUI
{
public interface IMaterialUIScopeContainer
{
public void AddUIScope(IMaterialUIScope scope);
public void AddUIScope<T>()
where T : IMaterialUIScope, new();
public T GetUIScope<T>()
where T : IMaterialUIScope;
public void Initialize(MaterialEditor materialEditor, MaterialProperty[] properties);
public void DrawShaderGUI(IEnumerable<MaterialProperty> properties);
}
}