Skip to content

Commit a885fc8

Browse files
committed
change location debug scene and disable initializeOnStart so it'll load on device location properly
1 parent 56b1420 commit a885fc8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Runtime/Mapbox/MapDebug/Scenes/LocationGame.unity

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,6 +2739,7 @@ MonoBehaviour:
27392739
UseRetinaTextures: 1
27402740
UseNonReadableTextures: 1
27412741
CacheSize: 100
2742+
ClampDataLevelToMax: 25
27422743
--- !u!4 &7512784582878372037
27432744
Transform:
27442745
m_ObjectHideFlags: 0
@@ -2799,7 +2800,8 @@ MonoBehaviour:
27992800
LoadBackgroundData: 0
28002801
DataSettings:
28012802
CacheSize: 100
2802-
ActiveZoomLevelRange: {x: 12, y: 16}
2803+
ClampDataLevelToMax: 16
2804+
RejectTilesOutsideZoom: {x: 12, y: 16}
28032805
_layerVisualizers:
28042806
- {fileID: 11400000, guid: 4aa8336b8547a4f4fa3bff4d3fb0c106, type: 2}
28052807
--- !u!1 &7512784582878372040
@@ -3131,7 +3133,7 @@ MonoBehaviour:
31313133
BaseTileRoot: {fileID: 0}
31323134
RuntimeGenerationRoot: {fileID: 0}
31333135
CacheManager: {fileID: 0}
3134-
InitializeOnStart: 1
3136+
InitializeOnStart: 0
31353137
_tileCreatorBehaviour: {fileID: 7512784582878372038}
31363138
TileProvider: {fileID: 555719920711164266}
31373139
--- !u!1660057539 &9223372036854775807

0 commit comments

Comments
 (0)