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