Answered
0
0

Hi, I’m interested also in how to trigger with C# code a snapshot. I tried to threat it as an event:

private FMOD.Studio.EventInstance MySnapshot;

MySnapshot = FMOD_StudioSystem.GetEvent(“SnapshotPatch”);

but I get error. I don’t really understand why working with EventDescription

If you could help I would appreciate

  • You must to post comments
Best Answer
1
0

In Unity it would look like

FMOD.Studio.EventInstance snapshot;
void Start () {
    FMOD.Studio.EventDescription desc;
    // TODO: include error checking
    FMOD_StudioSystem.instance.System.getEvent("snapshot:/IngamePause", out desc);
    desc.createInstance(out snapshot);       
}
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.