Class OnJointBreak
Called when a joint attached to the same game object broke.
Inheritance
OnJointBreak
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
[UnitCategory("Events/Physics")]
public sealed class OnJointBreak : GameObjectEventUnit<float>, IGraphElementWithData, IGraphEventHandler<float>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphEventListener
Properties
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
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
Methods
AssignArguments(Flow, float)
Declaration
protected override void AssignArguments(Flow flow, float breakForce)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
float | breakForce |
Overrides
Definition()
Declaration
protected override void Definition()