Skip to Content

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.Object mappings (see GetFeedbackMapping / inspector-driven setup in source).
  • ParticlesParticleSystem and GnosisParticleEffectChannel caches 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

Last updated on