Photon Fusion
2.1.1
Represents the context for releasing a network object. This struct is unsafe because it uses pointers. More...
Public Member Functions | |
| NetworkObjectReleaseContext (NetworkObject obj, NetworkObjectTypeId typeId, bool isBeingDestroyed) | |
| Initializes a new instance of the NetworkObjectReleaseContext struct with the specified parameters. | |
| override string | ToString () |
| Returns a string that represents the current object. | |
Public Attributes | |
| readonly bool | IsBeingDestroyed |
| Indicates whether the network object is being destroyed. | |
| readonly NetworkObject | Object |
| The network object to be released. | |
| readonly NetworkObjectTypeId | TypeId |
| The type identifier of the network object. | |
Properties | |
| bool | IsNestedObject [get] |
| Indicates whether the network object is a nested object. | |
Represents the context for releasing a network object. This struct is unsafe because it uses pointers.
| NetworkObjectReleaseContext | ( | NetworkObject | obj, |
| NetworkObjectTypeId | typeId, | ||
| bool | isBeingDestroyed ) |
Initializes a new instance of the NetworkObjectReleaseContext struct with the specified parameters.
| obj | The network object to be released. |
| typeId | The type identifier of the network object. |
| isBeingDestroyed | Indicates whether the network object is being destroyed. |
| override string ToString | ( | ) |
Returns a string that represents the current object.