refactor: use PlayDelayed API for audio delay and add Stop by ID support
- Replace PlayAfterDelay coroutine with AudioSource.PlayDelayed - Add Stop(audioId) public API - Add startWithMusic toggle - Clean up namespace and debug macros
This commit is contained in:
@@ -66,6 +66,7 @@ public static class AudioObjectDefinitions
|
||||
{ "Chinese Number 08", 49 },
|
||||
{ "Chinese Number 09", 49 },
|
||||
{ "Chinese Number 10", 49 },
|
||||
{ "Japanese Number 02", 51 },
|
||||
{ "Bar", 52 },
|
||||
{ "Beat", 53 },
|
||||
{ "Grid", 54 },
|
||||
@@ -104,6 +105,7 @@ public static class AudioObjectDefinitions
|
||||
{ "au_sfx_ui_button_corePlay_clear_cloud2", 70 },
|
||||
{ "au_sfx_ui_button_corePlay_clear_cloud3", 70 },
|
||||
{ "sfx_notice_test", 71 },
|
||||
{ "Spanish Number 03", 73 },
|
||||
};
|
||||
|
||||
public static readonly HashSet<string> AmbiguousNames = new()
|
||||
|
||||
Reference in New Issue
Block a user