public void SetCell(IShipSelection shipSelector, IHangarActions hangarActions, string stringID, Sprite image) { this.shipSelector = shipSelector; this.hangarActions = hangarActions; this.stringID = stringID; this.imageThumbnail = image; PopulateCell(); }
/// <summary> /// Initialises the ship's menu /// </summary> public void InitialiseMenu(IHangarActions hangarActions) { this.hangarActions = hangarActions; shipPopup = messagePanel.GetComponent <IShipMessagePopup>(); shipPopup.InitialisePopup(this); }