필요 없는 경로 삭제
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Factory.Config;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UVC.Data.Core;
|
||||
@@ -30,28 +29,28 @@ public class MenuSample : MonoBehaviour
|
||||
|
||||
private async UniTask SettupConfigAsync()
|
||||
{
|
||||
if (FactoryAppConfig.LoadConfig())
|
||||
{
|
||||
Application.targetFrameRate = FactoryAppConfig.Config.TargetFrameRate;
|
||||
// if (FactoryAppConfig.LoadConfig())
|
||||
// {
|
||||
// Application.targetFrameRate = FactoryAppConfig.Config.TargetFrameRate;
|
||||
|
||||
//기본 언어 설정
|
||||
bool success = LocalizationManager.Instance.LoadDefaultLocalizationData(FactoryAppConfig.Config.Language);
|
||||
Debug.Log($"LocalizationManager: LoadDefaultLocalizationData success: {success}");
|
||||
if (!Application.isEditor && Application.platform == RuntimePlatform.WindowsPlayer)
|
||||
{
|
||||
//창 설정
|
||||
if (FactoryAppConfig.Config.Window != null)
|
||||
{
|
||||
WindowTools.Instance.Init(FactoryAppConfig.Config.Window);
|
||||
}
|
||||
}
|
||||
// //기본 언어 설정
|
||||
// bool success = LocalizationManager.Instance.LoadDefaultLocalizationData(FactoryAppConfig.Config.Language);
|
||||
// Debug.Log($"LocalizationManager: LoadDefaultLocalizationData success: {success}");
|
||||
// if (!Application.isEditor && Application.platform == RuntimePlatform.WindowsPlayer)
|
||||
// {
|
||||
// //창 설정
|
||||
// if (FactoryAppConfig.Config.Window != null)
|
||||
// {
|
||||
// WindowTools.Instance.Init(FactoryAppConfig.Config.Window);
|
||||
// }
|
||||
// }
|
||||
|
||||
FactoryConstants.API_DOMAIN = FactoryAppConfig.Config.Api;
|
||||
FactoryConstants.MQTT_DOMAIN = FactoryAppConfig.Config.Mqtt.Domain;
|
||||
FactoryConstants.MQTT_PORT = FactoryAppConfig.Config.Mqtt.Port;
|
||||
FactoryConstants.MQTT_DATA_KEY = FactoryAppConfig.Config.Mqtt.DataKey;
|
||||
FactoryConstants.MQTT_MESSAGEPACK_ENABLED = FactoryAppConfig.Config.Mqtt.MessagePack;
|
||||
}
|
||||
// FactoryConstants.API_DOMAIN = FactoryAppConfig.Config.Api;
|
||||
// FactoryConstants.MQTT_DOMAIN = FactoryAppConfig.Config.Mqtt.Domain;
|
||||
// FactoryConstants.MQTT_PORT = FactoryAppConfig.Config.Mqtt.Port;
|
||||
// FactoryConstants.MQTT_DATA_KEY = FactoryAppConfig.Config.Mqtt.DataKey;
|
||||
// FactoryConstants.MQTT_MESSAGEPACK_ENABLED = FactoryAppConfig.Config.Mqtt.MessagePack;
|
||||
// }
|
||||
}
|
||||
|
||||
private void SetupTopMenu()
|
||||
|
||||
Reference in New Issue
Block a user