InitializeData() 개인적인 메소드

private InitializeData ( Terrain terrain, int index ) : void
terrain UnityEngine.Terrain
index int
리턴 void
예제 #1
0
        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);
        }