File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Source/MapResourceOverlay Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public void Awake()
4141 }
4242 public void Start ( )
4343 {
44- Show = true ;
44+ Show = false ;
4545 gameObject . layer = 10 ;
4646 gameObject . AddComponent < MeshRenderer > ( ) ;
4747 _mesh = gameObject . AddComponent < MeshFilter > ( ) . mesh ;
@@ -73,11 +73,11 @@ private void updateMapView()
7373 {
7474 _changed = false ;
7575 var dir = System . IO . Path . GetDirectoryName ( Assembly . GetExecutingAssembly ( ) . Location ) ;
76- var radii = System . IO . File . ReadAllLines ( dir + "\\ Assets\\ Radii.cfg" ) ;
76+ var radii = System . IO . File . ReadAllLines ( dir + "/ Assets/ Radii.cfg" ) ;
7777 var radius = float . Parse ( radii . First ( x => x . StartsWith ( targetBody . GetName ( ) ) ) . Split ( '=' ) [ 1 ] ) ;
7878 _body = targetBody ;
7979 evilmesh ( targetBody , SelectedResourceName ) ;
80- gameObject . renderer . material = new Material ( System . IO . File . ReadAllText ( dir + "\\ Assets\\ MapOverlayShader.txt" ) ) ;
80+ gameObject . renderer . material = new Material ( System . IO . File . ReadAllText ( dir + "/ Assets/ MapOverlayShader.txt" ) ) ;
8181 gameObject . renderer . enabled = true ;
8282 gameObject . renderer . castShadows = false ;
8383 gameObject . transform . parent = ScaledSpace . Instance . scaledSpaceTransforms . FirstOrDefault ( t => t . name == _body . name ) ; ;
You can’t perform that action at this time.
0 commit comments