Exemple #1
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);
        }
Exemple #2
0
 public void SetFullUI(FullVesselItem vessel)
 {
     _fullVesselUI = vessel;
 }