The company I work for hired a contracting company to work on a few games. I am responsible for adding sounds. There has been events made in Spine that are helpful but I need a few more. However, the Spine project we have is old and doesn't have any of the current events listed. I purchased Spine just to make these events and now I can't. Is there a way to add events to the animations in Unity or through Spine without having to have the Spine project? Note: I am not aloud to add any packages to Unity.
Help! Can I create Event triggers without the Spine Project?
Why can't you add the events in Spine? You can run the same old version that the projects were made with and add the events there.
You could write code to add events, but it won't be as comfortable because you'll have to write the time in seconds that the event should occur. To do that, create en EventTimeline and add it to an Animation's timelines. Add key frames to the event timeline as you need.
The old version that we have is missing the events that the VFX are already hooked up to. I don't want to redo all that and mess anything up that's already coded. I ended up playing the sounds when the animations are called and leaving space at the beginning instead of having to code it. It works but as you said, not as comfortable Thanks for replying!
WilkersonMedia Do you mean you have a set of assets where the desired events are present which come from a newer Spine version or version of the Spine project, and you only have the old Spine project files? If so, why, can't you just ask for the recent project files?
If you can't get the up-to-date Spine project files, but have the exported assets, you could use Spine - Import Data..
You can also search the forum regarding adding events in Unity, and how to use Import Data..
to import assets back into Spine and create a Spine project from it. Also be sure to check whether you're using SkeletonMecanim
and the events have been added to the clip in Unity and not in Spine.
See this forum posting:
https://esotericsoftware.com/forum/d/15410-adding-events-in-unity-not-in-spine