Last active
April 30, 2024 07:15
-
-
Save eka/5846396546513486fc89cfaa069ccc2f to your computer and use it in GitHub Desktop.
Resource for cllients to play sounds and send to the AudioManager via GameEventsManager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using Godot; | |
using Godot.Collections; | |
public partial class SoundResource : Resource | |
{ | |
[Export] public string Id { get; set; } | |
[Export] public AudioStream AudioStream { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[Tool] is not necessary, is a left over