summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
Diffstat (limited to 'Editor')
-rw-r--r--Editor/tooner.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs
index f984f6a..d60e543 100644
--- a/Editor/tooner.cs
+++ b/Editor/tooner.cs
@@ -48,8 +48,8 @@ public class ToonerGUI : ShaderGUI {
}
void DoBaseColor() {
- MaterialProperty bc = FindProperty("_BaseColor");
- MaterialProperty bct = FindProperty("_BaseColorTex");
+ MaterialProperty bc = FindProperty("_Color");
+ MaterialProperty bct = FindProperty("_MainTex");
editor.TexturePropertySingleLine(
MakeLabel(bct, "Base color (RGBA)"),
bct,
@@ -917,4 +917,3 @@ public class ToonerGUI : ShaderGUI {
}
}
-