public void AddObject(GameObject visibleObject) { if (!visibleObjects.ContainsKey(visibleObject)) { visibleObjects.Add(visibleObject, 1); } else { visibleObjects[visibleObject]++; } fogCamera.AddObject(visibleObject.transform); }
private void AddSystemToVisible(SolarSystem system) { fogCamera.AddObject(system.transform); }