Sync fork (#73)
* Improved UI layout and live vocals * New Live Compatibility * Android build support * Update build.yml * Fix issues with the new version of the game * add config button * Improve performance * bug fix, new uma compatibility --------- Co-authored-by: CroakFang <1605296300@qq.com>
This commit is contained in:
@@ -33,6 +33,7 @@ public class UmaViewerMain : MonoBehaviour
|
||||
Application.targetFrameRate = 120;
|
||||
|
||||
AbList = UmaDatabaseController.Instance.MetaEntries;
|
||||
if (AbList == null) return;
|
||||
var chara_3d = AbList.Where(ab => ab.Value.Type == UmaFileType._3d_cutt).Select(ab => ab.Value).ToList();
|
||||
AbChara = chara_3d.FindAll(ab => ab.Name.StartsWith(UmaDatabaseController.CharaPath));
|
||||
AbMotions = chara_3d.FindAll(ab => ab.Name.StartsWith(UmaDatabaseController.MotionPath));
|
||||
@@ -44,10 +45,17 @@ public class UmaViewerMain : MonoBehaviour
|
||||
|
||||
private IEnumerator Start()
|
||||
{
|
||||
if (AbList == null) yield break;
|
||||
Dictionary<int, string> enNames = new Dictionary<int, string>();
|
||||
Dictionary<int, string> mobNames = new Dictionary<int, string>();
|
||||
var loadingUI = UmaSceneController.instance;
|
||||
|
||||
if(Config.Instance.WorkMode == WorkMode.Standalone && AbList != null)
|
||||
{
|
||||
var ablist = new List<UmaDatabaseEntry>(AbList.Values);
|
||||
yield return UmaViewerDownload.DownloadAssets(ablist, UmaSceneController.instance.LoadingProgressChange);
|
||||
}
|
||||
|
||||
//Main chara names (En only)
|
||||
if (Config.Instance.Language == Language.En)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user