Renamed some colours so every colour has its own distinct name

This commit is contained in:
Gregory Campbell
2020-04-10 11:20:18 -04:00
parent 91b9e8ce6e
commit 294640b61f
+3 -3
View File
@@ -44,7 +44,7 @@ public class GMScript : MonoBehaviour
Orange, Green, Purple, Orange, Green, Purple,
Black, White, Black, White,
Pink, Brown, Lime, Pink, Brown, Lime,
Cyan, PurpleBlue, OrangeYellow Cyan, Indigo, Amber
} }
Colours robotColour; Colours robotColour;
@@ -581,11 +581,11 @@ public class GMScript : MonoBehaviour
colourValue colourValue
= new Color(0, 1, 1, 1); = new Color(0, 1, 1, 1);
break; break;
case Colours.PurpleBlue: case Colours.Indigo:
colourValue colourValue
= new Color(0.2f, 0, 1, 1); = new Color(0.2f, 0, 1, 1);
break; break;
case Colours.OrangeYellow: case Colours.Amber:
colourValue colourValue
= new Color(1, 0.87f, 0, 1); = new Color(1, 0.87f, 0, 1);
break; break;