Method GetNetworkBehaviour
GetNetworkBehaviour(ushort)
Returns a the NetworkBehaviour with a given BehaviourId for the current NetworkObject
Declaration
protected NetworkBehaviour GetNetworkBehaviour(ushort behaviourId)
Parameters
| Type | Name | Description |
|---|---|---|
| ushort | behaviourId | The behaviourId to return |
Returns
| Type | Description |
|---|---|
| NetworkBehaviour | Returns NetworkBehaviour with given behaviourId |