HandVisual
Visualizes finger joints using LineRenderer.
public class HandVisual : MonoBehaviourConstructors
Name
Description
Properties
Name
Type
Description
Methods
Name
Return Type
Description
Example
// Assign the prefab in the Editor.
[SerializeField] private GameObject _handPrefab;
// Instatiate GameObject.
GameObject handObject = Instantiate(_handPrefab, transform);
// Get HandVisual component.
HandVisual handVisual = handObject.GetComponent<HandVisual>();
// Visualize hand.
handVisual.Load(hand);Last updated