Browse Source

Fixed cannot divide an integer by an integer using Set Variable #579

master
Christopher 8 years ago
parent
commit
ecd44c584f
  1. 2
      Assets/Fungus/Scripts/Commands/SetVariable.cs
  2. 2
      Assets/Fungus/Scripts/Editor/SetVariableEditor.cs

2
Assets/Fungus/Scripts/Commands/SetVariable.cs

@ -11,7 +11,7 @@ namespace Fungus
public enum SetOperator
{
/// <summary> = operator. </summary>
Assign, //
Assign,
/// <summary> =! operator. </summary>
Negate,
/// <summary> += operator. </summary>

2
Assets/Fungus/Scripts/Editor/SetVariableEditor.cs

@ -66,7 +66,7 @@ namespace Fungus.EditorUtils
operatorsList.Add(new GUIContent("+="));
operatorsList.Add(new GUIContent("-="));
operatorsList.Add(new GUIContent("*="));
operatorsList.Add(new GUIContent("/="));
operatorsList.Add(new GUIContent("\\="));
}
int selectedIndex = 0;

Loading…
Cancel
Save