Used to see if a gameobject is grabbable or not and when a player has grabbed or released it Apply to any gameobject and when a player grabs it events will be called. More...
Public Member Functions | |
delegate void | ModGrabInteractCallback (ModPlayerCharacter character, ModRagdollHandJoint handJoint) |
Delegate for player hand interaction. | |
delegate bool | ModGrabInteractIsGrabbable () |
Delegate return bool. | |
void | OnPlayerArmGrab (ModPlayerCharacter character, ModRagdollHandJoint handJoint) |
Called when a player hand grabs this object. | |
void | OnPlayerArmRelease (ModPlayerCharacter character, ModRagdollHandJoint handJoint) |
Called when a player hand releases this object. | |
bool | IsGrabbable () |
Whether this object is grabbable or not. | |
void | OnPlayerArmGrab (ModPlayerCharacter character, ModRagdollHandJoint handJoint) |
Called when player grabs this object Called on Server. | |
void | OnPlayerArmRelease (ModPlayerCharacter character, ModRagdollHandJoint handJoint) |
Called when player releases this object Called on Server. | |
bool | IsGrabbable () |
Whether this object is grabbable or not. | |
Events | |
ModGrabInteractCallback | onPlayerArmGrab |
An event for when a player hand grabs this object. | |
ModGrabInteractCallback | onPlayerArmRelease |
An event for when a player hand releases this object. | |
ModGrabInteractIsGrabbable | isGrabbable |
An func to see if this object is grabbable or not. | |
Used to see if a gameobject is grabbable or not and when a player has grabbed or released it Apply to any gameobject and when a player grabs it events will be called.
bool ModWobblyLife.ModGrabInteract.IsGrabbable | ( | ) |
delegate void ModWobblyLife.ModGrabInteract.ModGrabInteractCallback | ( | ModPlayerCharacter | character, |
ModRagdollHandJoint | handJoint | ||
) |
Delegate for player hand interaction.
character | |
handJoint |
delegate bool ModWobblyLife.ModGrabInteract.ModGrabInteractIsGrabbable | ( | ) |
Delegate return bool.
void ModWobblyLife.ModGrabInteract.OnPlayerArmGrab | ( | ModPlayerCharacter | character, |
ModRagdollHandJoint | handJoint | ||
) |
Called when a player hand grabs this object.
character | |
handJoint |
Implements ModWobblyLife.IModGrabInteract.
void ModWobblyLife.ModGrabInteract.OnPlayerArmRelease | ( | ModPlayerCharacter | character, |
ModRagdollHandJoint | handJoint | ||
) |
Called when a player hand releases this object.
character | |
handJoint |
Implements ModWobblyLife.IModGrabInteract.
ModGrabInteractIsGrabbable ModWobblyLife.ModGrabInteract.isGrabbable |
An func to see if this object is grabbable or not.
ModGrabInteractCallback ModWobblyLife.ModGrabInteract.onPlayerArmGrab |
An event for when a player hand grabs this object.
ModGrabInteractCallback ModWobblyLife.ModGrabInteract.onPlayerArmRelease |
An event for when a player hand releases this object.