docs.unity3d.com
    Show / Hide Table of Contents

    Class OnJointBreak2D

    Called when a joint attached to the same game object broke.

    Inheritance
    Object
    GraphElement<FlowGraph>
    Unit
    EventUnit<Joint2D>
    GameObjectEventUnit<Joint2D>
    OnJointBreak2D
    Inherited Members
    GameObjectEventUnit<Joint2D>.register
    GameObjectEventUnit<Joint2D>.CreateData()
    GameObjectEventUnit<Joint2D>.target
    GameObjectEventUnit<Joint2D>.GetHook(GraphReference)
    GameObjectEventUnit<Joint2D>.StartListening(GraphStack, Boolean)
    GameObjectEventUnit<Joint2D>.StartListening(GraphStack)
    EventUnit<Joint2D>.coroutine
    EventUnit<Joint2D>.trigger
    EventUnit<Joint2D>.StopListening(GraphStack)
    EventUnit<Joint2D>.Uninstantiate(GraphReference)
    EventUnit<Joint2D>.IsListening(GraphPointer)
    EventUnit<Joint2D>.Trigger(GraphReference, Joint2D)
    EventUnit<Joint2D>.ShouldTrigger(Flow, Joint2D)
    EventUnit<Joint2D>.CompareNames(Flow, ValueInput, String)
    Unit.CreateDebugData()
    Unit.AfterAdd()
    Unit.BeforeRemove()
    Unit.Instantiate(GraphReference)
    Unit.CopyFrom(Unit)
    Unit.canDefine
    Unit.failedToDefine
    Unit.isDefined
    Unit.AfterDefine()
    Unit.BeforeUndefine()
    Unit.EnsureDefined()
    Unit.Define()
    Unit.RemoveUnconnectedInvalidPorts()
    Unit.controlInputs
    Unit.controlOutputs
    Unit.valueInputs
    Unit.valueOutputs
    Unit.invalidInputs
    Unit.invalidOutputs
    Unit.inputs
    Unit.outputs
    Unit.validInputs
    Unit.validOutputs
    Unit.ports
    Unit.invalidPorts
    Unit.validPorts
    Unit.onPortsChanged
    Unit.PortsChanged()
    Unit.defaultValues
    Unit.relations
    Unit.connections
    Unit.Disconnect()
    Unit.isControlRoot
    Unit.EnsureUniqueInput(String)
    Unit.EnsureUniqueOutput(String)
    Unit.ControlInput(String, Func<Flow, ControlOutput>)
    Unit.ControlInputCoroutine(String, Func<Flow, IEnumerator>)
    Unit.ControlInputCoroutine(String, Func<Flow, ControlOutput>, Func<Flow, IEnumerator>)
    Unit.ControlOutput(String)
    Unit.ValueInput(Type, String)
    Unit.ValueInput<T>(String)
    Unit.ValueInput<T>(String, T)
    Unit.ValueOutput(Type, String)
    Unit.ValueOutput(Type, String, Func<Flow, Object>)
    Unit.ValueOutput<T>(String)
    Unit.ValueOutput<T>(String, Func<Flow, T>)
    Unit.Requirement(ValueInput, ControlInput)
    Unit.Requirement(ValueInput, ValueOutput)
    Unit.Assignment(ControlInput, ValueOutput)
    Unit.Succession(ControlInput, ControlOutput)
    Unit.position
    Unit.definitionException
    GraphElement<FlowGraph>.guid
    GraphElement<FlowGraph>.BeforeAdd()
    GraphElement<FlowGraph>.AfterRemove()
    GraphElement<FlowGraph>.Dispose()
    GraphElement<FlowGraph>.InstantiateNest()
    GraphElement<FlowGraph>.UninstantiateNest()
    GraphElement<FlowGraph>.dependencyOrder
    GraphElement<FlowGraph>.HandleDependencies()
    GraphElement<FlowGraph>.graph
    GraphElement<FlowGraph>.IGraphElement.graph
    GraphElement<FlowGraph>.IGraphItem.graph
    GraphElement<FlowGraph>.deserializationDependencies
    GraphElement<FlowGraph>.aotStubs
    GraphElement<FlowGraph>.Prewarm()
    GraphElement<FlowGraph>.CopyFrom(GraphElement<FlowGraph>)
    GraphElement<FlowGraph>.ToString()
    Namespace: Unity.VisualScripting
    Syntax
    [UnitCategory("Events/Physics 2D")]
    public sealed class OnJointBreak2D : GameObjectEventUnit<Joint2D>, IGraphElementWithData, IGraphEventHandler<Joint2D>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IGraphEventListener

    Properties

    breakForce

    The force that needs to be applied for the joint that broke to break.

    Declaration
    [DoNotSerialize]
    public ValueOutput breakForce { get; }
    Property Value
    Type Description
    ValueOutput

    breakTorque

    The torque that needs to be applied for the joint that broke to break.

    Declaration
    [DoNotSerialize]
    public ValueOutput breakTorque { get; }
    Property Value
    Type Description
    ValueOutput

    connectedBody

    The 2D rigidbody to which the other end of the joint is attached (ie, the object without the joint component).

    Declaration
    [DoNotSerialize]
    public ValueOutput connectedBody { get; }
    Property Value
    Type Description
    ValueOutput

    hookName

    Declaration
    protected override string hookName { get; }
    Property Value
    Type Description
    String
    Overrides
    Unity.VisualScripting.GameObjectEventUnit<UnityEngine.Joint2D>.hookName

    joint

    The joint that broke.

    Declaration
    [DoNotSerialize]
    public ValueOutput joint { get; }
    Property Value
    Type Description
    ValueOutput

    MessageListenerType

    Declaration
    public override Type MessageListenerType { get; }
    Property Value
    Type Description
    Type
    Overrides
    Unity.VisualScripting.GameObjectEventUnit<UnityEngine.Joint2D>.MessageListenerType

    reactionForce

    The reaction force of the joint that broke.

    Declaration
    [DoNotSerialize]
    public ValueOutput reactionForce { get; }
    Property Value
    Type Description
    ValueOutput

    reactionTorque

    The reaction torque of the joint that broke.

    Declaration
    [DoNotSerialize]
    public ValueOutput reactionTorque { get; }
    Property Value
    Type Description
    ValueOutput

    Methods

    AssignArguments(Flow, Joint2D)

    Declaration
    protected override void AssignArguments(Flow flow, Joint2D joint)
    Parameters
    Type Name Description
    Flow flow
    Joint2D joint
    Overrides
    Unity.VisualScripting.EventUnit<UnityEngine.Joint2D>.AssignArguments(Unity.VisualScripting.Flow, UnityEngine.Joint2D)

    Definition()

    Declaration
    protected override void Definition()
    Overrides
    Unity.VisualScripting.GameObjectEventUnit<UnityEngine.Joint2D>.Definition()

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    XUnitOptionProvider.Option(IUnit)
    XUnitOptionProvider.Option<TOption>(IUnit)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    XGraphEventListener.StartListening(IGraphEventListener, GraphReference)
    XGraphEventListener.StopListening(IGraphEventListener, GraphReference)
    GraphsExceptionUtility.GetException(IGraphElementWithDebugData, GraphPointer)
    GraphsExceptionUtility.SetException(IGraphElementWithDebugData, GraphPointer, Exception)
    GraphsExceptionUtility.HandleException(IGraphElementWithDebugData, GraphPointer, Exception)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    XUnit.CompatibleValueInput(IUnit, Type)
    XUnit.CompatibleValueOutput(IUnit, Type)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023