Class IKManager2D
Component responsible for managing and updating 2D IK Solvers.
Implements
IPreviewable
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.U2D.IK
Assembly: solution.dll
Syntax
[DefaultExecutionOrder(-2)]
[MovedFrom("UnityEngine.Experimental.U2D.IK")]
[Icon("Packages/com.unity.2d.animation/Editor/Assets/ComponentIcons/Animation.IKManager.png")]
[ExecuteInEditMode]
public class IKManager2D : MonoBehaviour, IPreviewable
Properties
| Name | Description |
|---|---|
| solvers | Get the Solvers that are managed by this manager. |
| weight | Get and set the weight for solvers. |
Methods
| Name | Description |
|---|---|
| AddSolver(Solver2D) | Add Solver to the manager. |
| OnPreviewUpdate() | Used by the animation clip preview window. Recommended to not use outside of this purpose. |
| RemoveSolver(Solver2D) | Remove Solver from the manager. |
| UpdateManager() | Updates the Solvers in this manager. |