47 lines
2.2 KiB
C#
47 lines
2.2 KiB
C#
|
|
#pragma warning disable CS0105
|
|
using Code.Infrastructure.UI;
|
|
using Code.Infrastructure.Configs;
|
|
using Code.Infrastructure.Audio;
|
|
using Code.Infrastructure.UI;
|
|
using Code.Infrastructure.Audio;
|
|
using Code.Infrastructure.Audio;
|
|
using Code.Infrastructure.SceneLoader;
|
|
using Code.Infrastructure.Input;
|
|
using Code.Calendar.Constants;
|
|
|
|
using UnityEngine;
|
|
#pragma warning restore CS0105
|
|
|
|
namespace Code.Infrastructure.Configs
|
|
{
|
|
|
|
public partial class ConfigLocator
|
|
{
|
|
partial void LoadConfigs()
|
|
{
|
|
SystemConfigsReferences systemConfigsReferences = Resources.Load<SystemConfigsReferences>("SystemConfigsReferences");
|
|
|
|
_singleConfigReferences.Add(typeof(Code.Infrastructure.UI.CanvasSettingsConfig), systemConfigsReferences.CanvasSettings);
|
|
|
|
_multipleConfigReferences.Add(typeof(Code.Infrastructure.Configs.LayerMasksConfigConfig), systemConfigsReferences.LayerMasksConfig);
|
|
|
|
_multipleConfigReferences.Add(typeof(Code.Infrastructure.Audio.AudioInfoConfig), systemConfigsReferences.AudioInfo);
|
|
|
|
_multipleConfigReferences.Add(typeof(Code.Infrastructure.UI.UIPanelSettingsConfig), systemConfigsReferences.UIPanelSettings);
|
|
|
|
_multipleConfigReferences.Add(typeof(Code.Infrastructure.Audio.AudioSourceSettingsConfig), systemConfigsReferences.AudioSourceSettings);
|
|
|
|
_singleConfigReferences.Add(typeof(Code.Infrastructure.Audio.AudioSourcePrefabConfig), systemConfigsReferences.AudioSourcePrefab);
|
|
|
|
_multipleConfigReferences.Add(typeof(Code.Infrastructure.SceneLoader.SceneInfoConfig), systemConfigsReferences.SceneInfo);
|
|
|
|
_singleConfigReferences.Add(typeof(Code.Infrastructure.Input.InputServiceConfig), systemConfigsReferences.InputService);
|
|
|
|
_multipleConfigReferences.Add(typeof(Code.Calendar.Constants.ConstantImageConfig), systemConfigsReferences.ConstantImage);
|
|
|
|
//_singleConfigReferences.Add(typeof(ScenesAssetReferences), systemConfigsReferences.scenesAssetReferences);
|
|
}
|
|
}
|
|
}
|
|
|