public void SetShipCard(ShipModel ship) { BaseShipCard component = GetComponent <BaseShipCard>(); component.Init(ship, ShipCard); component.UpdateFatigue(ship.ConditionState, FatigueIcon, FatigueMask); component.UpdateStateIcon(StateIcon); if (ship.IsMarriage()) { Ring.SetActive(isActive: true); } else { Ring.SetActive(isActive: false); } }
public void SetShipCard(ShipModel ship) { BaseShipCard component = base.GetComponent <BaseShipCard>(); component.Init(ship, this.ShipCard); component.UpdateFatigue(ship.ConditionState, this.FatigueIcon, this.FatigueMask); component.UpdateStateIcon(this.StateIcon); if (ship.IsMarriage()) { this.Ring.SetActive(true); } else { this.Ring.SetActive(false); } }