Ejemplo n.º 1
0
 private void DrawBackGroundWindow(int windowID)
 {
     EditorToolsUtils.DrawScrollViewWindow(windowID, ref _backGroundWindowPosition, ref _selectedBackgroundMaterialIndex, _backGroundMaterials, _backgroundPreviewWidth, _backgroundPreviewHeight);
     EditorPrefs.SetInt("_selectedBackgroundMaterialIndex", _selectedBackgroundMaterialIndex);
     GetSelectedBackgroundMaterial(_selectedBackgroundMaterialIndex);
 }
Ejemplo n.º 2
0
 private void DrawPrefabPreviewWindow(int windowID)
 {
     EditorToolsUtils.DrawScrollViewWindow(windowID, ref _paleteWindowPosition, ref _selectedPrefabIndex, _bricksPrefabs, _prefabPreviewWidth, _prefabPreviewHeight);
     EditorPrefs.SetInt("_selectedPrefabIndex", _selectedPrefabIndex);
     GetSelectedPrefab(_selectedPrefabIndex);
 }