public void OnSceneGUI()
        {
            GameFieldManager gameFieldManager = (GameFieldManager)target;

            foreach (IndexedVector2 point in gameFieldManager.path)
            {
                Handles.Label(point + gameFieldManager.GetPointNormal(point.index) * GameFieldManager.Offset, point.index.ToString());
            }
        }
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            GameFieldManager gameFieldManager = (GameFieldManager)target;

            if (GUILayout.Button("Generate Path"))
            {
                gameFieldManager.GenerateGameField();
//                MenuStateManager.Instance.player.SetPosition(0f);
            }

            DrawSettingsEditor(gameFieldManager.path, gameFieldManager.GenerateGameField,
                               ref gameFieldManager.pathFoldout, ref pathEditor);
        }