using UnityEngine;

// [CreateAssetMenu(fileName = "GameConfig", menuName = "GameData/GameConfig")]
public class GameConfig : ScriptableObject {
    [Header("全局配置")] [HideInInspector] public string packageName;


#if GAME_RELEASE
    private const bool _isRelease = true;
#else
    private const bool _isRelease = false;
#endif

    public bool isRelease => _isRelease;

    private bool _enabledLog = true;

    public bool enabledLog {
        get => !isRelease && _enabledLog;
        set => _enabledLog = !isRelease && value;
    }
    
    [HideInInspector] public bool hardwareAcceleration = true;
}
