Defines a moveable (usually grabbable) object. This object is usually a non kinematic rigidbody. More...
Protected Member Functions | |
override void | OnAssignNetworkBehaviour (object networkBehaviour) |
override void | ModReset () |
When user clicks reset or first puts this component on a gameobject it will add a ModTransformSync so that it is synced (Position/Rotation/Scale) for all clients. | |
![]() | |
virtual void | OnAssignNetworkBehaviour (object networkBehaviour) |
virtual void | Awake () |
virtual void | Start () |
virtual void | Reset () |
virtual void | OnDestroy () |
virtual void | OnValidate () |
virtual void | ModAwake () |
Called on Awake. | |
virtual void | ModStart () |
Called on Start. | |
virtual void | ModReset () |
Called on Reset. | |
virtual void | ModOnValidate () |
Called on validate. | |
virtual void | ModOnDestroy () |
Called on OnDestroy. | |
virtual void | RegisterRPCs (object networkObject) |
virtual void | NetworkStart (object networkObject) |
virtual void | NetworkPost (object networkObject) |
virtual void | ModRegisterRPCs (ModNetworkObject modNetworkObject) |
Called when you should register rpcs. | |
virtual void | ModNetworkStart (ModNetworkObject modNetworkObject) |
Called when this object is ready on the network. | |
virtual void | ModNetworkPost (ModNetworkObject modNetworkObject) |
Called after fully initalized the network. | |
Additional Inherited Members | |
![]() | |
delegate void | ModNetworkBehaviourCallback (ModNetworkBehaviour modNetworkBehaviour) |
Delegate for a ModNetworkBehaviour. | |
delegate void | ModNetworkBehaviourNetworkObjectCallback (ModNetworkObject modNetworkObject) |
Delegate for a ModNetworkObject. | |
delegate void | ModNetworkBehaviourCallbackNetwork (ModNetworkBehaviour modNetworkBehaviour, Action< object > networkStartCallback, Action< object > registerRPCsCallback, Action< object > networkPostCallback) |
Internal use. | |
void | AssignNetworkBehaviour (object networkBehaviour) |
void | ModPrepare (bool bIsPrefab) |
Internal use. | |
bool | IsServer () |
Returns whether you are the server. | |
bool | IsConnected () |
Returns whether you are connected. | |
Guid | GetAssetId () |
Returns the assetid. | |
string | GetAssetIdRaw () |
Returns the assetidraw. | |
void | SetAssetId_Internal (string assetID) |
Sets the assetid. | |
object | GetNetworkBehaviourRaw () |
Returns the raw networkobject (Internal use) | |
![]() | |
ModNetworkObject | modNetworkObject |
The networkObject used for communication of this object. | |
![]() | |
object | networkBehaviour |
![]() | |
static ModNetworkBehaviourCallbackNetwork | onPrepare |
Internal use. | |
static ModNetworkBehaviourCallback | onPreparePrefab |
Internal use. | |
ModNetworkBehaviourNetworkObjectCallback | modNetworkStart |
ModNetworkBehaviourNetworkObjectCallback | modRegisterRPCs |
ModNetworkBehaviourNetworkObjectCallback | modNetworkPost |
ModNetworkBehaviourCallback | modOnDestroy |
Defines a moveable (usually grabbable) object. This object is usually a non kinematic rigidbody.
|
protectedvirtual |
When user clicks reset or first puts this component on a gameobject it will add a ModTransformSync so that it is synced (Position/Rotation/Scale) for all clients.
Reimplemented from ModWobblyLife.Network.ModNetworkBehaviour.
|
protectedvirtual |
Reimplemented from ModWobblyLife.Network.ModNetworkBehaviour.