onPick property
Called when the user clicks; receives the nearest hit (or null).
Implementation
final void Function(RaycastHit? hit)? onPick;
Called when the user clicks; receives the nearest hit (or null).
final void Function(RaycastHit? hit)? onPick;