1 (edited by grenouille 2020-04-06 16:29:16)

Topic: [SOLVED] Transition from non-panorama view to panorama view


I'm using Online Maps and uPano in the same project and I'd like to be able to have transitions between the map view and the panorama view.
I can show/hide a panorama easily but I'd like to have nice fade-in / fade-out transitions using uPano transition system.

I have seen the provided examples where Actions are used (such as SetGameObjectActive) but these Actions rely on the HotSpotManager which provides an InteractiveElement to the Action.
However I don't have any InteractiveElement since I am not inside the panorama yet (but on the map view).

I tried something like :


But that results in a NullReferenceException and no transition happens.

How can I achieve this ?
Thank you !

Re: [SOLVED] Transition from non-panorama view to panorama view


This needs to be added on the side of Online Maps.

Updated Pano Connector with transitions attached.
Replace the script in your project, and specify the transitions that you want to use.

Post's attachments

Attachment icon OnlineMapsPanoConnector.cs 16.28 kb, 31 downloads since 2020-04-06 

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 40 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

Re: [SOLVED] Transition from non-panorama view to panorama view

Thank you for your quick reply !