Wwise 版本
arrow_right 目录
AKRESULT __cdecl AK::SoundEngine::PostTrigger ( const char *  in_pszTrigger,
AkGameObjectID  in_gameObjectID  

Post the specified trigger.

  • AK_Success if successful
  • AK_IDNotFound if the trigger name was not resolved to an existing ID
    Make sure that the banks were generated with the "include string" option.
    Note: Strings are case-insensitive.
See also:
in_pszTrigger  Name of the trigger
in_gameObjectID  Associated game object ID