public new void Repaint()
    {
        if (terrainDetials != null)
        {
            terrainDetials.Setup();
        }

        base.Repaint();
    }
    void OnEnable()
    {
        terrainDetials = target as Terrain2DDetails;

        if (terrainDetials != null)
        {
            terrainDetials.Setup();
        }
    }