private void ToggleOrbits(bool OrbitsOn) { for (int i = _vessels.Count - 1; i >= 0; i--) { Tracking_Vessel vessel = (Tracking_Vessel)_vessels[i]; vessel.OnToggleAllOrbits(OrbitsOn); } }
private void AddTrackingVessel(Tracking_Vessel vessel) { FullVesselItem UI = Instantiate(Tracking_Loader.FullVesselPrefab).GetComponent <FullVesselItem>(); if (UI == null) { return; } UI.transform.SetParent(_NewTrackingList.transform, false); UI.Initialize(vessel); _UIVesselList.Add(UI); }
private void AddVessel(TrackingStationWidget widget) { Tracking_Vessel vessel = new Tracking_Vessel(widget); _vessels.Add(vessel); }