From 9a6045ab6e059840ae9ab79861c743d55a8d702d Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Thu, 11 Dec 2014 12:15:04 +0000 Subject: [PATCH] Changed negation operator description in SetVariable command --- Assets/Fungus/FungusScript/Editor/SetVariableEditor.cs | 2 +- Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Fungus/FungusScript/Editor/SetVariableEditor.cs b/Assets/Fungus/FungusScript/Editor/SetVariableEditor.cs index 44b85015..c175b536 100644 --- a/Assets/Fungus/FungusScript/Editor/SetVariableEditor.cs +++ b/Assets/Fungus/FungusScript/Editor/SetVariableEditor.cs @@ -56,7 +56,7 @@ namespace Fungus operatorsList.Add(new GUIContent("=")); if (variableType == typeof(BooleanVariable)) { - operatorsList.Add(new GUIContent("!")); + operatorsList.Add(new GUIContent("=!")); } else if (variableType == typeof(IntegerVariable) || variableType == typeof(FloatVariable)) diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs b/Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs index 0749591e..638e71c4 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs @@ -11,7 +11,7 @@ namespace Fungus public enum SetOperator { Assign, // = - Negate, // ! + Negate, // =! Add, // += Subtract, // -= Multiply, // *= @@ -59,7 +59,7 @@ namespace Fungus description += " = "; break; case SetOperator.Negate: - description += " != "; + description += " =! "; break; case SetOperator.Add: description += " += ";