public override void OnInspectorGUI()
    {
        DrawDefaultInspector();
        PathfindingField e = (PathfindingField)target;

        if (GUILayout.Button("Создать / Обновить игровое поле"))
        {
            e.CreateGrid();
        }
    }
 void Awake()
 {
     Instance = this;
     BuildMap();
 }
 void Awake()
 {
     _inst = this;
     BuildMap();
 }