Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SoundLibrary : MonoBehaviour
- {
- public PlayerSounds PlayerSounds;
- public EnemySounds EnemySounds;
- }
- [Serializable]
- public class EnemySounds
- {
- public AudioClip Shoot;
- public AudioClip Agro;
- }
- [Serializable]
- public class PlayerSounds
- {
- public AudioClip Jump;
- public AudioClip Walk;
- public AudioClip Shoot;
- }
Advertisement
Add Comment
Please, Sign In to add comment