Browse Source

Update README.md

Digitalzombie 3 năm trước cách đây
mục cha
commit
e8a2163913
1 tập tin đã thay đổi với 7 bổ sung8 xóa
  1. 7 8
      README.md

+ 7 - 8
README.md

@@ -3,12 +3,12 @@
 Audio helper mod for The Long Dark. Uses Unitys native audio engine to enable easier usage of custom audio in mods.
 Audio helper mod for The Long Dark. Uses Unitys native audio engine to enable easier usage of custom audio in mods.
 
 
 #### Current features v0.8
 #### Current features v0.8
- - Loading of single audio files (ogg, wav, mp3) on runtime
- - Loading of all audio files inside a directory
- - Loading of single audioclips inside assetbundles
- - Loading of all audioclips inside assetbundles
- - Creating of audiosources on objects/player
- - Playing of singleshot audioclips on object/player
+- Loading of single audio files (ogg, wav, mp3) on runtime
+- Loading of all audio files inside a directory
+- Loading of single audioclips inside assetbundles
+- Loading of all audioclips inside assetbundles
+- Creating of audiosources on objects/player
+- Playing of singleshot audioclips on object/player
 - Playing list of audioclips on object/player (looped, randomized)
 - Playing list of audioclips on object/player (looped, randomized)
 - Audiocategories linked to vanilla volume settings
 - Audiocategories linked to vanilla volume settings
 - Global and custom settings for audiosources
 - Global and custom settings for audiosources
@@ -29,7 +29,6 @@ Shot audiosources can play audioclips from a ClipManager instance directly. Queu
 
 
 #### Usage example
 #### Usage example
 
 
-
 ```csharp
 ```csharp
 using MelonLoader;
 using MelonLoader;
 using UnityEngine;
 using UnityEngine;
@@ -57,7 +56,7 @@ namespace HereBeNamespace
         }
         }
 
 
         public override void OnUpdate()
         public override void OnUpdate()
-		{
+	{
             if (InputManager.GetKeyDown(InputManager.m_CurrentContext, KeyCode.Keypad0))
             if (InputManager.GetKeyDown(InputManager.m_CurrentContext, KeyCode.Keypad0))
             {
             {
                 // Play clip named "isThisFood.ogg on the player
                 // Play clip named "isThisFood.ogg on the player