C# Class SceneManagerExample, Unity5-SceneManager-Example

Inheritance: MonoBehaviour
显示文件 Open project: limanson/Unity5-SceneManager-Example Class Usage Examples

Public Properties

Property Type Description
Instance SceneManagerExample,
currentSceneTextMesh UnityEngine.TextMesh
moveObjects GameObject[]
player GameObject
warningTextMesh UnityEngine.TextMesh

Public Methods

Method Description
LoadScene ( string loadSceneName ) : void
MoveToScene ( string sceneName ) : void
UnloadScene ( string unloadSceneName ) : void

Private Methods

Method Description
Awake ( ) : void
DisplayCurrentSceneName ( ) : void
LoadSceneAsync ( string loadSceneName ) : IEnumerator
MovePlayerPosition ( ) : void
UnloadSceneYield ( string unloadSceneName ) : IEnumerator

Method Details

LoadScene() public method

public LoadScene ( string loadSceneName ) : void
loadSceneName string
return void

MoveToScene() public method

public MoveToScene ( string sceneName ) : void
sceneName string
return void

UnloadScene() public method

public UnloadScene ( string unloadSceneName ) : void
unloadSceneName string
return void

Property Details

Instance public_oe static_oe property

public static SceneManagerExample, Instance
return SceneManagerExample,

currentSceneTextMesh public_oe property

public TextMesh,UnityEngine currentSceneTextMesh
return UnityEngine.TextMesh

moveObjects public_oe property

public GameObject[] moveObjects
return GameObject[]

player public_oe property

public GameObject player
return GameObject

warningTextMesh public_oe property

public TextMesh,UnityEngine warningTextMesh
return UnityEngine.TextMesh