Scene Protocol

From PowerUI
Revision as of 20:38, 13 January 2017 by 151.229.186.156 (talk) (Created page with "The scene protocol is a simple way to make an anchor link (the a element) point at some other scene in your game. <syntaxhighlight lang="html"> <a href='scene://myOtherScene...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The scene protocol is a simple way to make an anchor link (the a element) point at some other scene in your game.

<a href='scene://myOtherScene'>Go to some other scene!</a>


Note that in order for this to work, the scene must be in your build settings (you'll get a very obvious error message from Unity otherwise!)