Humanoid Control for Unity v4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes | Properties | List of all members
Passer.SiteNavigator Class Reference

Description

The component which takes care of site navigation.

Inherits MonoBehaviour.

Public Member Functions

void GoHome ()
 
void LoadSiteFromURL (string siteLocation)
 Change the current Site.
 
void ReloadSite ()
 
void GoBack ()
 
void Quit ()
 

Public Attributes

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 Public Attributes

static Stack< HistoryEntry > history = new Stack<HistoryEntry>()
 
static HistoryEntry currentSite = null
 

Protected Member Functions

virtual void Awake ()
 
void LoadStartSiteFromStartupJSON ()
 
virtual void Start ()
 
void Update ()
 

Static Protected Member Functions

static IEnumerator LoadSite (string siteLocation)
 
static IEnumerator UnloadLastAssetBundle (AssetBundle newAssetBundle)
 

Static Protected Attributes

static List< HistoryEntry > cache = new List<HistoryEntry>()
 
static AssetBundle currentAssetBundle = null
 
static AssetBundle loadedAssetBundle = null
 

Properties

static SiteNavigator instance [get]
 

Member Function Documentation

◆ LoadSiteFromURL()

void Passer.SiteNavigator.LoadSiteFromURL ( string  siteLocation)

Change the current Site.

Parameters
siteLocationThe URL of the site to visit

The URL should not include a protocol (like https://) or an extension (like .site or .windows.site)

Member Data Documentation

◆ 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: