Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
        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);
            }
        }