Show / Hide Table of Contents

Class SceneDefinition

Inheritance
System.Object
SceneDefinition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AssetRipper.Assets.Collections
Assembly: AssetRipper.Assets.dll
Syntax
public sealed class SceneDefinition

Fields

| Improve this Doc View Source

UnityGuid

The GUID of this scene. It gets used in the scene's meta file. This will not be .

Declaration
public required UnityGuid
Field Value
Type Description
required

Methods

| Improve this Doc View Source

FromName(String, UnityGuid)

Creates a new SceneDefinition from the given name and guid.

Declaration
public static SceneDefinition FromName(string name, UnityGuid guid = null)
Parameters
Type Name Description
System.String name

The name of the scene.

UnityGuid guid

The predefined UnityGuid for the scene. If default, a random one is assigned.

Returns
Type Description
SceneDefinition
| Improve this Doc View Source

FromPath(String, UnityGuid)

Creates a new SceneDefinition from the given path and guid.

Declaration
public static SceneDefinition FromPath(string path, UnityGuid guid = null)
Parameters
Type Name Description
System.String path

The relative path to the scene.

UnityGuid guid

The predefined UnityGuid for the scene. If default, a random one is assigned.

Returns
Type Description
SceneDefinition
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾