File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class PinpointAtlasManager : MonoBehaviour
1818
1919 private Dictionary < string , string > _atlasNameMapping ;
2020 private Dictionary < string , bool > _allowedOnWebGLMapping ;
21- List < string > _allowedNames ;
21+ private List < string > _allowedNames ;
2222
2323 public HashSet < OntologyNode > DefaultNodes ;
2424
@@ -79,7 +79,7 @@ public void PopulateAtlasDropdown()
7979 if ( _allowedOnWebGLMapping [ atlasNames [ i ] ] )
8080 _allowedNames . Add ( atlasNames [ i ] ) ;
8181#else
82- var _allowedNames = atlasNames ;
82+ _allowedNames = atlasNames ;
8383#endif
8484
8585 _atlasDropdown . options = _allowedNames . ConvertAll ( x => ConvertAtlas2Userfriendly ( x ) ) ;
@@ -101,6 +101,9 @@ public void SetAtlas(int option)
101101
102102 private void ResetScene ( int option )
103103 {
104+ #if UNITY_EDITOR
105+ Debug . Log ( $ "(PAM) Resetting atlas to option { option } ") ;
106+ #endif
104107 PlayerPrefs . SetInt ( "scene-atlas-reset" , 1 ) ;
105108 Settings . AtlasName = _allowedNames [ option ] ;
106109#if UNITY_EDITOR
You can’t perform that action at this time.
0 commit comments