Files
UltimateFishing/Assets/Scripts/Assembly-CSharp/Oculus/Platform/LanguagePack.cs
2026-02-21 16:45:37 +08:00

26 lines
513 B
C#

using Oculus.Platform.Models;
namespace Oculus.Platform
{
public static class LanguagePack
{
public static Request<AssetDetails> GetCurrent()
{
if (Core.IsInitialized())
{
return new Request<AssetDetails>(CAPI.ovr_LanguagePack_GetCurrent());
}
return null;
}
public static Request<AssetFileDownloadResult> SetCurrent(string tag)
{
if (Core.IsInitialized())
{
return new Request<AssetFileDownloadResult>(CAPI.ovr_LanguagePack_SetCurrent(tag));
}
return null;
}
}
}