HitProviderAsset¶
Shared IHitProvider stored in a ScriptableObject asset.
Namespace: Jungle.Physics
Inherits: ScriptableObject
Overview¶
HitProviderAsset wraps a single IHitProvider configuration into a shared asset so multiple scene objects can reference the same probe (e.g. one cursor raycaster used by every interactive in the scene).
Consumers point at the asset by dropping a HitProviderFromAsset in any IHitProvider slot — it delegates every call (TryGetHit, TryGetHits, Ray, SupportsMultiHit) through to the asset's inner provider.
Create via Assets → Create → Jungle → Physics → Hit Provider.
Properties¶
| Property | Type | Description |
|---|---|---|
| value | IHitProvider |
The underlying hit provider (defaults to a RaycastHitProvider). |