27 lines
No EOL
698 B
C#
27 lines
No EOL
698 B
C#
// Assets/ShiroginSDK/Runtime/Core/SDK.cs
|
|
|
|
using ShiroginSDK.Runtime.Shared.Constants;
|
|
using UnityEngine;
|
|
|
|
namespace ShiroginSDK.Runtime.Core.SDK
|
|
{
|
|
public static class SDKInfo
|
|
{
|
|
private static ShiroginConfig _config;
|
|
|
|
public static ShiroginConfig Config
|
|
{
|
|
get
|
|
{
|
|
if (_config == null)
|
|
{
|
|
_config = Resources.Load<ShiroginConfig>(SDKConstants.ConfigResourcePath);
|
|
if (_config == null)
|
|
Debug.LogError("[ShiroginSDK] Missing ShiroginConfig.asset in Resources folder!");
|
|
}
|
|
|
|
return _config;
|
|
}
|
|
}
|
|
}
|
|
} |