Class IKManager2D
Component to manager 2D IK Solvers.
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()