Delete zone body shadow state
This commit is contained in:
parent
3eab07c9dc
commit
191a7dd1c3
6 changed files with 44 additions and 38 deletions
|
|
@ -188,19 +188,11 @@ public class ZoneRenderer : MonoBehaviour
|
|||
SectorBrushes.localScale = zone.Blueprint.Radius * 2 * Vector3.one;
|
||||
SlimeGravityCamera.orthographicSize = zone.Blueprint.Radius;
|
||||
SlimeRenderer.ZoneRadius = zone.Blueprint.Radius;
|
||||
foreach (var p in zone.Planets.Values)
|
||||
foreach (var p in zone.CaptureBodyData())
|
||||
LoadPlanet(p);
|
||||
|
||||
_suns = Planets.Values.Where(p => p is SunObject).ToArray();
|
||||
|
||||
// foreach (var x in Planets)
|
||||
// {
|
||||
// if (!(zone.Planets[x.Key] is GasGiantData))
|
||||
// {
|
||||
//
|
||||
// }
|
||||
// }
|
||||
|
||||
foreach (var entity in zone.Entities)
|
||||
{
|
||||
Debug.Log($"Loading entity {entity.Name} from existing zone entity collection");
|
||||
|
|
|
|||
Loading…
Reference in a new issue