Minor Hotfix
This commit is contained in:
parent
4b8a300c0a
commit
bd824cc2e6
2 changed files with 3 additions and 2 deletions
|
|
@ -21746,7 +21746,7 @@ MonoBehaviour:
|
|||
GalaxyZonePrototype: {fileID: 559120531}
|
||||
GalaxyZoneLinkPrototype: {fileID: 899487252}
|
||||
GalaxyBackground: {fileID: 1938745697}
|
||||
GalaxyScale: 100
|
||||
GalaxyScale: 50
|
||||
ZoneObjectPrefab: {fileID: 5321404118521994133, guid: f9521191d31952a42a76632d158de0d3,
|
||||
type: 3}
|
||||
BeltPrefab: {fileID: 3696484618621710612, guid: de2171f0e78642f48ac4cb15f3c012c5,
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ public class StrategyGameManager : MonoBehaviour
|
|||
|
||||
void Start()
|
||||
{
|
||||
_galaxyOrthoSize = GalaxyScale / 2;
|
||||
_cache = new DatabaseCache();
|
||||
|
||||
// Request galaxy description from the server
|
||||
|
|
@ -249,7 +250,7 @@ public class StrategyGameManager : MonoBehaviour
|
|||
}
|
||||
else
|
||||
{
|
||||
var beltObject = Instantiate(BeltPrefab, transform);
|
||||
var beltObject = Instantiate(BeltPrefab, ZoneRoot);
|
||||
_zoneBelts[planet.ID] = beltObject;
|
||||
var orbit = _cache.Get<OrbitData>(planet.Orbit);
|
||||
var beltEmission = beltObject.emission;
|
||||
|
|
|
|||
Loading…
Reference in a new issue