A interaction object which attaches the player to that object. Great for Vehicles. Rigidbody is required! More...
Public Member Functions | |
| delegate void | ModActionEnterExitDriverChanged (ModActionEnterExitInteract actionInteract, ModPlayerController previousDriver, ModPlayerController currentDriver) |
| virtual bool | IsAvaliableToEnter (ModPlayerController playerController) |
| Called on both client and server to see if you are allowed to enter this action interact. | |
| ModVehicleSeatAllocation | GetSeatAllocation () |
| Returns the seat allocation. | |
| ModCameraFocus | GetCameraFocus () |
| Returns the camera focus. | |
| bool | IsDisableExitCollisionCheck () |
| Returns whether when players exit are they allowed to clip through walls. | |
Public Member Functions inherited from ModWobblyLife.Network.ModNetworkSubBehaviour | |
| void | RegisterRPCs (ModNetworkObject networkObject) |
| Called when you should register rpcs. | |
| void | NetworkStart (ModNetworkObject networkObject) |
| Called when this object is ready on the network. | |
| void | NetworkPost (ModNetworkObject networkObject) |
| Called after fully initalized the network. | |
| GameObject | GetGameObject () |
| Returns the gameobject of this object. | |
| void | RegisterRPCs (ModNetworkObject networkObject) |
| Called when you should register rpcs. | |
| void | NetworkStart (ModNetworkObject networkObject) |
| Called when this object is ready on the network. | |
| void | NetworkPost (ModNetworkObject networkObject) |
| Called after fully initalized the network. | |
| GameObject | GetGameObject () |
| Returns the gameobject of this object. | |
Public Attributes | |
| Action< ModPlayerController > | onPlayerPreEnter |
| Called just before we sit the player on the seat. | |
| Action< ModPlayerController > | onPlayerEntered |
| Called when a player has fully entered this. | |
| Action< ModPlayerController > | onPlayerExited |
| Called when a player has fully exited this. | |
| ModActionEnterExitDriverChanged | onDriverChanged |
| Called when the driver has changed. | |
Public Attributes inherited from ModWobblyLife.Network.ModNetworkSubBehaviour | |
| ModNetworkObject | modNetworkObject |
Protected Member Functions | |
| override void | Awake () |
| virtual void | OnPlayerPreEnter (ModPlayerController playerController) |
| Called just before we sit the player on the seat. | |
| virtual void | OnPlayerEntered (ModPlayerController playerController) |
| Called when a player has fully entered this. | |
| virtual void | OnPlayerExited (ModPlayerController playerController) |
| Called when a player has fully exited this. | |
| virtual void | OnDriverChanged (ModPlayerController previousDriver, ModPlayerController currentDriver) |
| Called when the driver has changed. | |
Protected Member Functions inherited from ModWobblyLife.Network.ModNetworkSubBehaviour | |
| virtual void | Awake () |
| virtual void | Start () |
| virtual void | OnDestroy () |
| virtual void | ModAwake () |
| virtual void | ModStart () |
| virtual void | ModOnDestroy () |
| virtual void | ModRegisterRPCs (ModNetworkObject modNetworkObject) |
| virtual void | ModNetworkStart (ModNetworkObject modNetworkObject) |
| virtual void | ModNetworkPost (ModNetworkObject modNetworkObject) |
A interaction object which attaches the player to that object. Great for Vehicles. Rigidbody is required!
|
protectedvirtual |
Reimplemented from ModWobblyLife.Network.ModNetworkSubBehaviour.
| ModCameraFocus ModWobblyLife.ModActionEnterExitInteract.GetCameraFocus | ( | ) |
Returns the camera focus.
| ModVehicleSeatAllocation ModWobblyLife.ModActionEnterExitInteract.GetSeatAllocation | ( | ) |
Returns the seat allocation.
|
virtual |
Called on both client and server to see if you are allowed to enter this action interact.
| playerController |
| bool ModWobblyLife.ModActionEnterExitInteract.IsDisableExitCollisionCheck | ( | ) |
Returns whether when players exit are they allowed to clip through walls.
| delegate void ModWobblyLife.ModActionEnterExitInteract.ModActionEnterExitDriverChanged | ( | ModActionEnterExitInteract | actionInteract, |
| ModPlayerController | previousDriver, | ||
| ModPlayerController | currentDriver | ||
| ) |
|
protectedvirtual |
Called when the driver has changed.
|
protectedvirtual |
Called when a player has fully entered this.
|
protectedvirtual |
Called when a player has fully exited this.
|
protectedvirtual |
Called just before we sit the player on the seat.
| ModActionEnterExitDriverChanged ModWobblyLife.ModActionEnterExitInteract.onDriverChanged |
Called when the driver has changed.
| Action<ModPlayerController> ModWobblyLife.ModActionEnterExitInteract.onPlayerEntered |
Called when a player has fully entered this.
| Action<ModPlayerController> ModWobblyLife.ModActionEnterExitInteract.onPlayerExited |
Called when a player has fully exited this.
| Action<ModPlayerController> ModWobblyLife.ModActionEnterExitInteract.onPlayerPreEnter |
Called just before we sit the player on the seat.