A unique identifier for a scene object. More...
Inherits IEquatable< NetworkSceneObjectId >.
Public Member Functions | |
bool | Equals (NetworkSceneObjectId other) |
Check if two NetworkSceneObjectId are equal. More... | |
override bool | Equals (object obj) |
Check if two NetworkSceneObjectId are equal. More... | |
override int | GetHashCode () |
Get the hash code of the NetworkSceneObjectId. More... | |
NetworkSceneObjectId (SceneRef scene, int objectId, NetworkSceneLoadId loadId=default) | |
TODO More... | |
override string | ToString () |
String representation of the NetworkSceneObjectId. More... | |
Public Attributes | |
NetworkSceneLoadId | LoadId |
Unique identifier of a specific scene load. Needs to be used when loading multiple scenes with the same SceneRef or reloading a scene. For example, NetworkSceneInfo increments its internal LoadId every time a new scene is added. More... | |
int | ObjectId |
Index of the object in the scene or any other form of unique identifier. More... | |
SceneRef | Scene |
Identifies the scene in which the object is located. More... | |
Properties | |
bool | IsValid [get] |
Signal if the NetworkSceneObjectId is valid. More... | |
int | SceneLoadId [get] |
Use LoadId More... | |
A unique identifier for a scene object.
NetworkSceneObjectId | ( | SceneRef | scene, |
int | objectId, | ||
NetworkSceneLoadId | loadId = default |
||
) |
TODO
scene | |
objectId | |
loadId |
bool Equals | ( | NetworkSceneObjectId | other | ) |
Check if two NetworkSceneObjectId are equal.
other | Another NetworkSceneObjectId to check for equality |
override bool Equals | ( | object | obj | ) |
Check if two NetworkSceneObjectId are equal.
obj | Another NetworkSceneObjectId to check for equality |
override int GetHashCode | ( | ) |
Get the hash code of the NetworkSceneObjectId.
override string ToString | ( | ) |
String representation of the NetworkSceneObjectId.
NetworkSceneLoadId LoadId |
Unique identifier of a specific scene load. Needs to be used when loading multiple scenes with the same SceneRef or reloading a scene. For example, NetworkSceneInfo increments its internal LoadId every time a new scene is added.
int ObjectId |
Index of the object in the scene or any other form of unique identifier.
SceneRef Scene |
Identifies the scene in which the object is located.
|
get |
Signal if the NetworkSceneObjectId is valid.
|
get |
Use LoadId