2024-01-03 14:06:58 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Gameplay.FakeFight
|
|
|
|
|
|
{
|
|
|
|
|
|
public class CmpFakeStart : MonoBehaviour
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
// 使用全角色
|
|
|
|
|
|
public bool useFullCharacters;
|
|
|
|
|
|
|
|
|
|
|
|
// 己方无敌
|
|
|
|
|
|
public bool selfInvincible;
|
|
|
|
|
|
|
|
|
|
|
|
// 敌方无敌
|
|
|
|
|
|
public bool enemyInvincible;
|
2024-09-30 12:22:14 +08:00
|
|
|
|
|
|
|
|
|
|
//使用测试编队
|
|
|
|
|
|
public bool useTestTeam;
|
2024-01-03 14:06:58 +08:00
|
|
|
|
|
2024-07-15 12:20:03 +08:00
|
|
|
|
[Header("使用新的登录窗口")]
|
2024-07-12 14:23:06 +08:00
|
|
|
|
public bool useNewLoginWindow;
|
|
|
|
|
|
|
2024-01-03 14:06:58 +08:00
|
|
|
|
private void Start()
|
|
|
|
|
|
{
|
2024-07-12 14:23:06 +08:00
|
|
|
|
#if UNITY_EDITOR
|
2024-01-03 14:06:58 +08:00
|
|
|
|
SROptions.Current.UseFullCharacters = useFullCharacters;
|
|
|
|
|
|
SROptions.Current.SelfUnbeatable = selfInvincible;
|
|
|
|
|
|
SROptions.Current.EnemyUnbeatable = enemyInvincible;
|
2024-09-30 12:22:14 +08:00
|
|
|
|
SROptions.Current.UseTestTeam = useTestTeam;
|
2024-08-28 17:03:50 +08:00
|
|
|
|
GameStartLoading.newMethodLogin = useNewLoginWindow;
|
2024-07-12 14:23:06 +08:00
|
|
|
|
#endif
|
2024-01-03 14:06:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|