Added new KeywordEnumTypeDrawer;
Added new method to use generic to add ui scope
This commit is contained in:
@@ -7,7 +7,11 @@ namespace Misaki.ShaderGUI
|
||||
{
|
||||
public void AddUIScope(IMaterialUIScope scope);
|
||||
|
||||
public T GetUIScope<T>() where T : class, IMaterialUIScope;
|
||||
public void AddUIScope<T>()
|
||||
where T : IMaterialUIScope, new();
|
||||
|
||||
public T GetUIScope<T>()
|
||||
where T : IMaterialUIScope;
|
||||
|
||||
public void Initialize(MaterialEditor materialEditor, MaterialProperty[] properties);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user