Animation Event Component
An add-on for MMORPG KIT that enables triggering custom logic, audio, and game effects through animation events using Unity’s built-in event system.
by Influency
Price History +
🚀 Add Visual & Audio Impact to Your MMORPG KIT Animations! 🎬✨
This add-on lets you trigger custom audio, visual effects, or logic at precise moments in an animation, making your game feel responsive, polished, and dynamic!
✨ Features:
✅ Event-Based Trigger System – Use Unity’s built-in animation events to trigger sounds, VFX, or custom scripts on the frame you need 🔥
✅ Easy Setup – Add the AnimationEventComponent to your character prefab and set everything up in the inspector 🧩
✅ Flexible Triggers – Define any Trigger Name (e.g., "STEP", "ATTACK", "CAST", etc.) and configure behavior per trigger 🎯
✅ Supports Audio & Effects – Play audio clips, addressable sounds, or spawn effects at runtime 🎧💥
✅ Universal Compatibility – Works with any animation clip: combat, magic, footsteps, idle, or death 🕺💀
🛠 How It Works:
1️⃣ Add the AnimationEventComponent to your character prefab 🧱
2️⃣ In the Inspector, click + under Animation Triggers to add a new entry ➕
3️⃣ Set a Trigger Name (e.g., "DEATH"), and assign:
- 🎵 Audio Clip or Addressable Audio
- 🧊 Effect Prefab or Addressable Effect
- 📌 (Optional) Transform Container to control effect spawn position
4️⃣ Open your animation in Unity's Animation window 🎞️
Right-click the timeline and add an Animation Event
5️⃣ Set the Function to TriggerEvent and the String to your trigger name (must match exactly) 📝
✅ That’s it! The effect, sound, or logic fires at that exact moment during gameplay 🚀
🎮 Example Use Cases:
- Footstep sounds timed perfectly to walk cycles 👣
- Weapon swing slashes or impact bursts during attacks ⚔️
- Shouts, voice lines, or taunts at key animation points 🔊
- Magic effects that trigger mid-cast ✨
- Death explosions, collapses, or cinematic audio 💥
⚡ Seamless MMORPG KIT Integration:
- Designed to drop into existing character prefabs
- Works with default Unity animations and Animator system
- No code modification required for basic usage ✅
📝 Note:
This version does not include camera shake. It focuses on clean, customizable event-driven animation triggers.
📦 Dependency: Requires the MMORPG KIT (2D/3D/Survival)