public override void OnInspectorGUI()
        {
            //Draw the defualt inspector options
            DrawDefaultInspector();

            Vector2Variable script = (Vector2Variable)target;

            EditorGUILayout.BeginVertical(EditorStyles.helpBox);

            EditorGUILayout.LabelField("Debugging Options", EditorStyles.centeredGreyMiniLabel);

            EditorGUILayout.LabelField("Current value: " + script.Value, EditorStyles.boldLabel);

            //Display button that resets the value to the starting value
            if (GUILayout.Button("Reset Value"))
            {
                if (EditorApplication.isPlaying)
                {
                    script.ResetValue();
                }
            }
            EditorGUILayout.EndVertical();
        }
 /// <summary>
 /// Add another sVector3 Value to the Value
 /// </summary>
 /// <param name="_value"></param>
 public void ApplyChange(Vector2Variable _value)
 {
     Value += _value.Value;
 }
 /// <summary>
 /// Set Value to another sVector3 Value
 /// </summary>
 /// <param name="_value"></param>
 public void SetValue(Vector2Variable _value)
 {
     Value = _value.Value;
 }