Topic: Can I change blue color line to another color?

I'm working with Online Maps and Upano, actually I want to lower the color opacity from 1 to 0.4, so it's visible and doesn't cover the map.

Post's attachments

Attachment icon Capture.JPG 49.8 kb, 39 downloads since 2022-09-19 

Re: Can I change blue color line to another color?

Hello.

Example:

using UnityEngine;

public class SetOverlayTransparency : MonoBehaviour
{
    private void Start()
    {
        OnlineMapsTileManager.OnTileLoaded += OnTileLoaded;
    }

    private void OnTileLoaded(OnlineMapsTile tile)
    {
        tile.overlayFrontAlpha = 0.4f;
    }
}
Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Can I change blue color line to another color?

Already implemented code but no changes. I think blue line is created from texture2D.. maybe this photo can help find answer

Post's attachments

Attachment icon Capture.JPG 88.56 kb, 39 downloads since 2022-10-13 

Re: Can I change blue color line to another color?

1. What Control are you using? Only Tileset has Overlay support.
2. Please make sure that in SetOverlayTransparency script you are changing the transparency for the layer that is selected in Pano Connector.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

5 (edited by esanuriana08 2022-10-17 17:20:03)

Re: Can I change blue color line to another color?

I used map with type 2D and UIRawImage Control.

and I also store SetOverlayTransparency under Pano Connector

Post's attachments

Attachment icon temporary.PNG 44.27 kb, 35 downloads since 2022-10-17 

Re: Can I change blue color line to another color?

2D Controls do not support overlay transparency.
Use Tileset instead.
Tileset much faster and has many exclusive features.
If you want to use Tileset on UI, there is an example scene in the package on how to do it.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.