C# generator now working with bindings.json

This commit is contained in:
antopilo
2025-04-03 23:06:54 -04:00
parent c9dfe2706e
commit 2908429b68
10 changed files with 257 additions and 8 deletions

View File

@@ -0,0 +1,21 @@
using System;
namespace Nuake
{
public static class AudioModule
{
public static void SetVolume(float volume)
{
unsafe
{
Internals.AudioModuleSetVolumeICall(volume);
}
}
public static void SetMuted(bool muted)
{
unsafe
{
Internals.AudioModuleSetMutedICall(muted);
}
}
}
}