20 lines
533 B
C#
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);
|
|
}
|
|
} |