Photon Fusion
2.1.1
A unique identifier for a scene object. More...
Public Member Functions | |
| readonly bool | Equals (NetworkSceneObjectId other) |
| Check if two NetworkSceneObjectId are equal. | |
| readonly override bool | Equals (object obj) |
| Check if two NetworkSceneObjectId are equal. | |
| override readonly int | GetHashCode () |
| Get the hash code of the NetworkSceneObjectId. | |
| NetworkSceneObjectId (SceneRef scene, int objectId, NetworkSceneLoadId loadId=default) | |
| TODO. | |
| override readonly string | ToString () |
| String representation of the NetworkSceneObjectId. | |
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. | |
| 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. | |
Properties | |
| readonly bool | IsValid [get] |
| Signal if the NetworkSceneObjectId is valid. | |
| readonly int | SceneLoadId [get] |
| Use LoadId. | |
A unique identifier for a scene object.
| NetworkSceneObjectId | ( | SceneRef | scene, |
| int | objectId, | ||
| NetworkSceneLoadId | loadId = default ) |
TODO.
| scene | |
| objectId | |
| loadId |
| readonly bool Equals | ( | NetworkSceneObjectId | other | ) |
Check if two NetworkSceneObjectId are equal.
| other | Another NetworkSceneObjectId to check for equality |
| readonly override bool Equals | ( | object | obj | ) |
Check if two NetworkSceneObjectId are equal.
| obj | Another NetworkSceneObjectId to check for equality |