Skip to content

Commit ab5f9cd

Browse files
committed
Fixed Unlit shaders, that have accidentally inherited code expecting LV-related properties.
1 parent 92c5370 commit ab5f9cd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Editor/StandardUnlitShaderGUI Plus.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public void FindProperties(MaterialProperty[] props)
2626
alphaCutoff = FindProperty("_Cutoff", props, false);
2727
albedoColor = FindProperty("_Color", props, false);
2828

29-
FindPropertiesPlus(props);
29+
FindPropertiesPlusVisibility(props);
30+
FindPropertiesPlusCull(props);
3031
}
3132

3233
public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
@@ -50,7 +51,10 @@ public void ShaderPropertiesGUI(Material material)
5051

5152
// My stuff
5253
EditorGUILayout.Space();
53-
PlusOptions(material);
54+
GUILayout.Label("Plus Options", EditorStyles.largeLabel);
55+
VisibilityOptions();
56+
GUILayout.Label("Other Options", EditorStyles.boldLabel);
57+
TwoSidedPopup();
5458
}
5559
}
5660
} // namespace ShingenPizza.Shaders.UnityPlus

0 commit comments

Comments
 (0)