UnityAnimationAdapter
Service: Animation (Animation)
Code: Runtime/GnosisEngine/Adapters/Unity/Animation/UnityAnimationAdapter.cs
Maps feedback ids and particle ids to Unity assets, then handles REQUEST_FEEDBACK_PLAY, GnosisAnimationEvents.REQUEST_PARTICLE_INSTANTIATE, and REQUEST_PARTICLE_CONTROL from the bus. GnosisAnimationService registers the id lists when the adapter binds.
Registries
- Feedback — Dictionary of id → MMF / feedback player
UnityEngine.Objectmappings (seeGetFeedbackMapping/ inspector-driven setup in source). - Particles —
ParticleSystemandGnosisParticleEffectChannelcaches for pooled / channeled effects.
Transform hints
Feedback playback can use transformFromStorePath (and related payload keys) to anchor world positions from the Gnosis store before playing.
Singleton
Instance — Single active adapter enforced in Awake.
Editor
UnityAnimationAdapterEditor under Editor/GnosisEngine/Permanent/Services/Animation/.
See also
- Animation service —
PlayFeedback, particle functions,GnosisAnimationEvents
Last updated on