public void OnEnable() { m_CreateTerrainMode = new TerrainToolboxCreateTerrain(); m_TerrainSettingsMode = new TerrainToolboxSettings(); m_TerrainUtilitiesMode = new TerrainToolboxUtilities(); m_TerrainVisualizationMode = new TerrainToolboxVisualization(); m_CreateTerrainMode.LoadSettings(); m_TerrainSettingsMode.LoadSettings(); m_TerrainUtilitiesMode.LoadSettings(); m_TerrainUtilitiesMode.OnLoad(); m_TerrainVisualizationMode.LoadSettings(); LoadSettings(); }