The component which takes care of site navigation.
Inherits MonoBehaviour.
|
void | GoHome () |
|
void | LoadSiteFromURL (string siteLocation) |
| Change the current Site.
|
|
void | ReloadSite () |
|
void | GoBack () |
|
void | Quit () |
|
|
bool | loadSiteAtStart = false |
|
string | startSite = "" |
| The URL of the Site which should be visited at start.
|
|
string | startScene |
| The name of the scene which should be visited at start.
|
|
|
static Stack< HistoryEntry > | history = new Stack<HistoryEntry>() |
|
static HistoryEntry | currentSite = null |
|
|
virtual void | Awake () |
|
void | LoadStartSiteFromStartupJSON () |
|
virtual void | Start () |
|
void | Update () |
|
|
static IEnumerator | LoadSite (string siteLocation) |
|
static IEnumerator | UnloadLastAssetBundle (AssetBundle newAssetBundle) |
|
|
static List< HistoryEntry > | cache = new List<HistoryEntry>() |
|
static AssetBundle | currentAssetBundle = null |
|
static AssetBundle | loadedAssetBundle = null |
|
◆ LoadSiteFromURL()
void Passer.SiteNavigator.LoadSiteFromURL |
( |
string |
siteLocation | ) |
|
Change the current Site.
- Parameters
-
siteLocation | The URL of the site to visit |
The URL should not include a protocol (like https://) or an extension (like .site or .windows.site)
◆ startSite
string Passer.SiteNavigator.startSite = "" |
The URL of the Site which should be visited at start.
The URL should not include a protocol (like https://) or an extension (like .site or .windows.site)
◆ startScene
string Passer.SiteNavigator.startScene |
The name of the scene which should be visited at start.
This overrides the startSite but only works in the editor
The documentation for this class was generated from the following file:
- d:/Unity/Humanoid4/Humanoid4_Pro/Assets/humanoidcontrol4_pro/Runtime/Sites/Scripts/SiteNavigator.cs