Struct NetworkObjectRef
- Namespace
- Netick.Unity
- Assembly
- Netick.Unity.dll
public struct NetworkObjectRef : IEquatable<NetworkObjectRef>
- Implements
-
- Inherited Members
-
Constructors
NetworkObjectRef(NetworkObject)
public NetworkObjectRef(NetworkObject obj)
Parameters
obj
NetworkObject
Fields
ObjectId
public readonly int ObjectId
Field Value
- int
Methods
Equals(NetworkObjectRef)
public bool Equals(NetworkObjectRef other)
Parameters
other
NetworkObjectRef
Returns
- bool
Equals(object)
public override bool Equals(object other)
Parameters
other
object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
GetObject(NetworkSandbox)
public NetworkObject GetObject(NetworkSandbox sandbox)
Parameters
sandbox
NetworkSandbox
Returns
- NetworkObject
TryGetObject(NetworkSandbox, out NetworkObject)
public bool TryGetObject(NetworkSandbox sandbox, out NetworkObject obj)
Parameters
sandbox
NetworkSandbox
obj
NetworkObject
Returns
- bool