Class OnJointBreak
Called when a joint attached to the same game object broke.
Inheritance
OnJointBreak
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/Physics")]
public sealed class OnJointBreak : GameObjectEventUnit<float>, IGraphElementWithData, IGraphEventHandler<float>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IGraphEventListener
Properties
breakForce
The force that was applied for this joint to break.
Declaration
[DoNotSerialize]
public ValueOutput breakForce { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
hookName
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Single>.hookName
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Single>.MessageListenerType
Methods
AssignArguments(Flow, Single)
Declaration
protected override void AssignArguments(Flow flow, float breakForce)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
Single | breakForce |
Overrides
Unity.VisualScripting.EventUnit<System.Single>.AssignArguments(Unity.VisualScripting.Flow, System.Single)
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Single>.Definition()