![](../icons/Help.png) | LoadScene_Example Class |
Example of how to change scenes for all users
Inheritance HierarchySystemObject Object Component Behaviour MonoBehaviour SimpleDemosLoadScene_Example
Namespace:
SimpleDemos
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic class LoadScene_Example : MonoBehaviour
Public Class LoadScene_Example
Inherits MonoBehaviour
public ref class LoadScene_Example : public MonoBehaviour
type LoadScene_Example =
class
inherit MonoBehaviour
end
The LoadScene_Example type exposes the following members.
Constructors
Methods
| Name | Description |
---|
![Private method Private method](../icons/privmethod.gif) | Start | Initialize scene to load string |
![Private method Private method](../icons/privmethod.gif) | Update | Game Logic |
Top
Fields
| Name | Description |
---|
![Public field Public field](../icons/pubfield.gif) | m_LoadScene | Resets the scene so the user can delete the object again |
![Public field Public field](../icons/pubfield.gif) | m_SceneToLoad | The name of the scene the user wants to load |
Top
See Also