Struct UnloadedScene
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FishNet.Managing.Scened
Assembly: FishNet.Runtime.dll
Syntax
public struct UnloadedScene
Constructors
UnloadedScene(String, Int32)
Declaration
public UnloadedScene(string name, int handle)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | handle |
UnloadedScene(Scene)
Declaration
public UnloadedScene(Scene s)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.SceneManagement.Scene | s |
Fields
Handle
Declaration
public readonly int Handle
Field Value
Type | Description |
---|---|
System.Int32 |
Name
Declaration
public readonly string Name
Field Value
Type | Description |
---|---|
System.String |
Methods
GetScene()
Returns a scene based on handle. Result may not be valid as some Unity versions discard of the scene information after unloading.
Declaration
public Scene GetScene()
Returns
Type | Description |
---|---|
UnityEngine.SceneManagement.Scene |