Пример #1
0
        /// <summary>
        /// Создает значек дома на карте
        /// </summary>
        private void CreateBlips(HouseInfo house, Vector3 position)
        {
            var hasOwner   = house.OwnerId != NO_OWNER;
            var playerName = hasOwner
                ? _playerInfoManager.Get(house.OwnerId)?.Name
                : string.Empty;
            var blip = _pointCreator.CreateBlip(position, hasOwner ? 40 : 374, 0, scale: 0.6f);

            _blipsByHouses.Add(house.Id, blip);
            UpdateBlip(house, playerName);
        }