mergemilitary/Assets/Scripts/Config/GameConfig.cs

27 lines
749 B
C#
Raw Normal View History

2022-05-23 13:39:59 +00:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "GameConfig")]
public class GameConfig : ConfigBase<GameConfig>
{
2022-10-10 08:20:54 +00:00
public bool IsFakeMode => UseFakeMode && !PlayerData.Instance.IsIPShow;
2022-09-09 14:35:49 +00:00
public bool IsDebug;
2022-06-08 13:23:44 +00:00
public bool IsAutoLevel;
2022-10-10 08:20:54 +00:00
public bool UseFakeMode = false;
2022-07-04 11:17:39 +00:00
public bool UseDiamond;
2022-09-09 14:35:49 +00:00
public bool JumpText = true;
2022-09-09 15:01:44 +00:00
public bool IsSimpleAni = true;
2022-07-04 11:17:39 +00:00
2022-09-09 14:35:49 +00:00
public string PlayerNear = "Monster";
public string PlayerFar = "Human";
public string EnemyNear = "Monster";
public string EnemyFar = "Human";
2022-05-23 13:39:59 +00:00
2022-07-04 11:17:39 +00:00
public float FailRewardRatio = 0.5f;
public int SceneCount = 4;
2022-05-23 13:39:59 +00:00
public int BlockMaxLevel;
public float UnitSpeed;
}