public void SetCell(ICheckShipSlot slotChecker, IShipAssign assigner, bool isAttached) { this.slotChecker = slotChecker; this.assignerAction = assigner; DecideActionButton(isAttached); }
public void IntialisePopulator(IEquipmentMenu equipmentMenu, GameObject contentView, ICheckShipSlot slotChecker, IShipAssign assigner, IInfoPanel infoPanel) { this.equipmentMenu = equipmentMenu; this.contentView = contentView; this.slotChecker = slotChecker; this.assigner = assigner; this.infoPanel = infoPanel; weaponServicer = SessionData.instance.weaponServicer.GetComponent <IWeaponServicer>(); }