private void FindLevel()
        {
            if (Editlevel == null)
            {
                var actualTerrain = FindObjectOfType <RegionTerrain>();
                if (actualTerrain != null)
                {
                    Editlevel = actualTerrain.owner;
                    Editlevel.LoadGrid();
                    if (Editlevel.varList == null)
                    {
                        Editlevel.varList = new List <IData>();
                    }
                    //CreateReorderableList();
                }
                else

                {
                    NewMap();
                }
            }
            levelSerialized = new SerializedObject(Editlevel);
        }
 private void LoadGrid()
 {
     Editlevel.LoadGrid();
 }