Esempio n. 1
0
    /// <summary>
    /// Mapがクリックされた時の処理
    /// </summary>
    /// <param name="isPickup"></param>
    void MapAction(bool isPickup = false)
    {
        _mapView.SetMapText(
            _mapStringService.MakeMapString(
                (int)_playerModel.PlayerPositionVec3RP.Value.x,
                (int)_playerModel.PlayerPositionVec3RP.Value.z,
                isPickup
                ));

        if (isPickup)
        {
            _mapView.ChangeMapSize(
                _mapView.PickedMapPositionVec3, _mapView.PickedMapSizeVec2
                );
        }
        else
        {
            _mapView.ChangeMapSize(
                _mapView.MapPositionVec3, _mapView.MapSizeVec2, false
                );
        }
    }