Beispiel #1
0
 public void Play()
 {
     NativeSoundMethods.Play(Handle);
 }
Beispiel #2
0
 public static Sound CreateLineSound(string name, Vec3 start, Vec3 end)
 {
     return(TryGet(NativeSoundMethods.CreateLineSound(name, 0, 0, start, end)));
 }
Beispiel #3
0
 public static Sound CreateSphereSound(string name, float radius)
 {
     return(TryGet(NativeSoundMethods.CreateSphereSound(name, 0, 0, radius)));
 }
Beispiel #4
0
 public static Sound CreateSound(string name)
 {
     return(TryGet(NativeSoundMethods.CreateSound(name, 0)));
 }