区域性调整
解决在德语法语等区设置不可用的问题
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream.Kit;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Localization.Settings;
|
||||
using UnityEngine.ResourceManagement.AsyncOperations;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
@@ -40,7 +40,7 @@ namespace AibisDream
|
||||
switch (propName)
|
||||
{
|
||||
case "Volume":
|
||||
AudioManager.Instance.SetVolume(float.Parse(value));
|
||||
AudioManager.Instance.SetVolume(float.Parse(value, CultureInfo.InvariantCulture));
|
||||
break;
|
||||
case "TextSpeed":
|
||||
// TODO 调整文字速度
|
||||
|
||||
Reference in New Issue
Block a user