internal static void ShowTerrainSplatEditor(string title, string button, Terrain terrain, int index) { TerrainSplatEditor window = EditorWindow.GetWindow <TerrainSplatEditor>(true, title); window.m_ButtonTitle = button; window.InitializeData(terrain, index); }