示例#1
0
        private void ShowRawImporter()
        {
            GRawImporterWindow window = GRawImporterWindow.ShowWindow();

            window.BulkImport        = true;
            window.BulkImportGroupId = instance.GroupId;
        }
示例#2
0
        private void ShowRawImporter()
        {
            GRawImporterWindow window = GRawImporterWindow.ShowWindow();

            window.DesData = data;
            GameObject g = Selection.activeGameObject;

            if (g != null)
            {
                GStylizedTerrain t = g.GetComponent <GStylizedTerrain>();
                if (t != null && t.TerrainData == data)
                {
                    window.Terrain = t;
                }
            }
        }