Skip to content

Commit 058dc89

Browse files
authored
api: change the accessor of UTS3MaterialHeaderScopeList to internal (#385)
1 parent e7f7c15 commit 058dc89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

com.unity.toonshader/Editor/MeterialEditor/UTS3MaterialHeaderScopeItemList.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace UnityEditor.Rendering.Toon
1313
/// <summary>
1414
/// Collection to store <see cref="UTS3MaterialHeaderScopeItem"></see>
1515
/// </summary>
16-
public class UTS3MaterialHeaderScopeList
16+
internal class UTS3MaterialHeaderScopeList
1717
{
1818
internal readonly uint m_DefaultExpandedState;
1919
internal readonly List<UTS3MaterialHeaderScopeItem> m_Items = new List<UTS3MaterialHeaderScopeItem>();
@@ -22,7 +22,7 @@ public class UTS3MaterialHeaderScopeList
2222
/// Constructor that initializes it with the default expanded state for the internal scopes
2323
/// </summary>
2424
/// <param name="defaultExpandedState">By default, everything is expanded</param>
25-
public UTS3MaterialHeaderScopeList(uint defaultExpandedState = uint.MaxValue)
25+
internal UTS3MaterialHeaderScopeList(uint defaultExpandedState = uint.MaxValue)
2626
{
2727
m_DefaultExpandedState = defaultExpandedState;
2828
}
@@ -36,7 +36,7 @@ public UTS3MaterialHeaderScopeList(uint defaultExpandedState = uint.MaxValue)
3636
/// <param name="workflowMode">UTS workflow mode </param> ///
3737
/// <param name="isTransparent">Flag transparent material header should be drawn</param> ///
3838
/// <param name="isTessellation">Flag Tessellation material header should be drawn</param> ///
39-
public void RegisterHeaderScope<TEnum>(GUIContent title, TEnum expandable, Action<Material> action, uint workflowMode, uint isTransparent, uint isTessellation )
39+
internal void RegisterHeaderScope<TEnum>(GUIContent title, TEnum expandable, Action<Material> action, uint workflowMode, uint isTransparent, uint isTessellation )
4040
where TEnum : struct, IConvertible
4141
{
4242
m_Items.Add(new UTS3MaterialHeaderScopeItem()
@@ -60,7 +60,7 @@ public void RegisterHeaderScope<TEnum>(GUIContent title, TEnum expandable, Actio
6060
/// </summary>
6161
/// <param name="materialEditor"><see cref="MaterialEditor"/></param>
6262
/// <param name="material"><see cref="Material"/></param>
63-
public void DrawHeaders(MaterialEditor materialEditor, Material material)
63+
internal void DrawHeaders(MaterialEditor materialEditor, Material material)
6464
{
6565
if (material == null)
6666
throw new ArgumentNullException(nameof(material));

0 commit comments

Comments
 (0)