Show / Hide Table of Contents

Struct Scene

Inherited Members
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine.SceneManagement
Assembly: UnityEngine.dll
Syntax
[Serializable]
public struct Scene

Properties

| Improve this Doc View Source

buildIndex

Declaration
public int buildIndex { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

handle

Declaration
public int handle { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

isDirty

Declaration
public bool isDirty { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

isLoaded

Declaration
public bool isLoaded { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

name

Declaration
public string name { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

path

Declaration
public string path { get; }
Property Value
Type Description
String
| Improve this Doc View Source

rootCount

Declaration
public int rootCount { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
Object other
Returns
Type Description
Boolean
Overrides
ValueType.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ValueType.GetHashCode()
| Improve this Doc View Source

GetRootGameObjects()

Declaration
public GameObject[] GetRootGameObjects()
Returns
Type Description
GameObject[]
| Improve this Doc View Source

GetRootGameObjects(List<GameObject>)

Declaration
public void GetRootGameObjects(List<GameObject> rootGameObjects)
Parameters
Type Name Description
List<GameObject> rootGameObjects
| Improve this Doc View Source

IsValid()

Declaration
public bool IsValid()
Returns
Type Description
Boolean

Operators

| Improve this Doc View Source

Equality(Scene, Scene)

Declaration
public static bool operator ==(Scene lhs, Scene rhs)
Parameters
Type Name Description
Scene lhs
Scene rhs
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(Scene, Scene)

Declaration
public static bool operator !=(Scene lhs, Scene rhs)
Parameters
Type Name Description
Scene lhs
Scene rhs
Returns
Type Description
Boolean

Extension Methods

PhysicsSceneExtensions2D.GetPhysicsScene2D(Scene)
PhysicsSceneExtensions.GetPhysicsScene(Scene)
MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX