예제 #1
0
        private void ToggleOrbits(bool OrbitsOn)
        {
            for (int i = _vessels.Count - 1; i >= 0; i--)
            {
                Tracking_Vessel vessel = (Tracking_Vessel)_vessels[i];

                vessel.OnToggleAllOrbits(OrbitsOn);
            }
        }
예제 #2
0
        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);
        }
예제 #3
0
        private void AddVessel(TrackingStationWidget widget)
        {
            Tracking_Vessel vessel = new Tracking_Vessel(widget);

            _vessels.Add(vessel);
        }