docs.unity3d.com
    Show / Hide Table of Contents

    Class IKManager2D

    Component to manager 2D IK Solvers.

    Inheritance
    Object
    IKManager2D
    Namespace: UnityEngine.U2D.IK
    Syntax
    public class IKManager2D : MonoBehaviour, MonoBehaviour

    Properties

    solvers

    Get the Solvers that are managed by this manager.

    Declaration
    public List<Solver2D> solvers { get; }
    Property Value
    Type Description
    List<Solver2D>

    weight

    Get and Set the weight for solvers.

    Declaration
    public float weight { get; set; }
    Property Value
    Type Description
    Single

    Methods

    AddSolver(Solver2D)

    Add Solver to the manager.

    Declaration
    public void AddSolver(Solver2D solver)
    Parameters
    Type Name Description
    Solver2D solver

    Solver to add.

    RemoveSolver(Solver2D)

    Remove Solver from the manager.

    Declaration
    public void RemoveSolver(Solver2D solver)
    Parameters
    Type Name Description
    Solver2D solver

    Solver to remove.

    UpdateManager()

    Updates the Solvers in this manager.

    Declaration
    public void UpdateManager()
    Back to top
    Terms of use
    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