pub fn register_game_obj(game_object_id: AkGameObjectID) -> Result<(), AkResult>
Expand description

Registers a game object.

Return

  • AK_Success if successful
  • AK_Fail if the specified AkGameObjectID is invalid (0 is an invalid ID)

Remark Registering a game object twice does nothing. Unregistering it once unregisters it no matter how many times it has been registered.

See also