Photon Fusion 2.0.0

Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
NetworkLoadSceneParameters Struct Reference

Parameters for loading a scene. More...

Inherits IEquatable< NetworkLoadSceneParameters >.

Public Member Functions

bool Equals (NetworkLoadSceneParameters other)
 Compares two NetworkLoadSceneParameters for equality.
 
override bool Equals (object obj)
 Compares two NetworkLoadSceneParameters for equality.
 
override int GetHashCode ()
 Returns the hash code of the NetworkLoadSceneParameters
 
override string ToString ()
 Returns a string representation of the NetworkLoadSceneParameters
 

Static Public Member Functions

static bool operator!= (NetworkLoadSceneParameters left, NetworkLoadSceneParameters right)
 Compares two NetworkLoadSceneParameters for inequality.
 
static bool operator== (NetworkLoadSceneParameters left, NetworkLoadSceneParameters right)
 Compares two NetworkLoadSceneParameters for equality.
 

Public Attributes

readonly NetworkSceneLoadId LoadId
 The unique id of the scene load operation.
 

Properties

bool IsActiveOnLoad [get]
 Signals if the scene should be active on load.
 
bool IsLocalPhysics2D [get]
 Signals if the scene should have local 2D physics.
 
bool IsLocalPhysics3D [get]
 Signals if the scene should have local 3D physics.
 
bool IsSingleLoad [get]
 Signals if the scene should be single loaded.
 
LoadSceneMode LoadSceneMode [get]
 The LoadSceneMode to use when loading the scene.
 
LoadSceneParameters LoadSceneParameters [get]
 The LoadSceneParameters to use when loading the scene.
 
LocalPhysicsMode LocalPhysicsMode [get]
 The LocalPhysicsMode to use when loading the scene.
 

Detailed Description

Parameters for loading a scene.

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( NetworkLoadSceneParameters  other)

Compares two NetworkLoadSceneParameters for equality.

Parameters
otherThe other NetworkLoadSceneParameters
Returns
Returns true if the two NetworkLoadSceneParameters are equal

◆ Equals() [2/2]

override bool Equals ( object  obj)

Compares two NetworkLoadSceneParameters for equality.

Parameters
objThe other NetworkLoadSceneParameters
Returns
Returns true if the two NetworkLoadSceneParameters are equal

◆ operator!=()

static bool operator!= ( NetworkLoadSceneParameters  left,
NetworkLoadSceneParameters  right 
)
static

Compares two NetworkLoadSceneParameters for inequality.

Parameters
leftLeft NetworkLoadSceneParameters
rightRight NetworkLoadSceneParameters
Returns
Returns true if the two NetworkLoadSceneParameters are not equal

◆ operator==()

static bool operator== ( NetworkLoadSceneParameters  left,
NetworkLoadSceneParameters  right 
)
static

Compares two NetworkLoadSceneParameters for equality.

Parameters
leftLeft NetworkLoadSceneParameters
rightRight NetworkLoadSceneParameters
Returns
Returns true if the two NetworkLoadSceneParameters are equal