|
@@ -131,98 +131,98 @@ public class Auxiliary : Regist
|
|
|
{
|
|
|
#region 调试
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.Escape))
|
|
|
- {
|
|
|
+ //if (Input.GetKeyDown(KeyCode.Escape))
|
|
|
+ //{
|
|
|
|
|
|
- }
|
|
|
+ //}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.Z))
|
|
|
- {
|
|
|
- //ManaTutorial.EnterD1();
|
|
|
+ //if (Input.GetKeyDown(KeyCode.Z))
|
|
|
+ //{
|
|
|
+ // ManaTutorial.EnterD1();
|
|
|
|
|
|
- ManaCenter.MiniTimer = 0;
|
|
|
- }
|
|
|
+ // ManaCenter.MiniTimer = 0;
|
|
|
+ //}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.X))
|
|
|
- {
|
|
|
- ManaMiniGame.GameTimer = 45;
|
|
|
+ //if (Input.GetKeyDown(KeyCode.X))
|
|
|
+ //{
|
|
|
+ // ManaMiniGame.GameTimer = 45;
|
|
|
|
|
|
- //Lottery.TempTypeList = new List<int>();
|
|
|
- //Lottery.TempValueList = new List<int>();
|
|
|
- //Lottery.TempLotteryList = new List<Lottery>();
|
|
|
+ // Lottery.TempTypeList = new List<int>();
|
|
|
+ // Lottery.TempValueList = new List<int>();
|
|
|
+ // Lottery.TempLotteryList = new List<Lottery>();
|
|
|
|
|
|
- //Lottery.EnterAnimation();
|
|
|
+ // Lottery.EnterAnimation();
|
|
|
|
|
|
- //ManaReso.Get("Bc_LotteryItem1").TweenForEuler();
|
|
|
- //ManaReso.Get("Bc_LotteryItem2").TweenForEuler();
|
|
|
- //ManaReso.Get("Bc_LotteryItem3").TweenForEuler();
|
|
|
- }
|
|
|
+ // ManaReso.Get("Bc_LotteryItem1").TweenForEuler();
|
|
|
+ // ManaReso.Get("Bc_LotteryItem2").TweenForEuler();
|
|
|
+ // ManaReso.Get("Bc_LotteryItem3").TweenForEuler();
|
|
|
+ //}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.C))
|
|
|
- {
|
|
|
- ManaMiniGame.Score = 1000;
|
|
|
+ //if (Input.GetKeyDown(KeyCode.C))
|
|
|
+ //{
|
|
|
+ // ManaMiniGame.Score = 1000;
|
|
|
|
|
|
- //ManaSign.SignTime = new DateTime(2007, 1, 1);
|
|
|
- }
|
|
|
+ // ManaSign.SignTime = new DateTime(2007, 1, 1);
|
|
|
+ //}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.M))
|
|
|
- {
|
|
|
- ManaReso.Get("G_Flower").SetActive(false);
|
|
|
+ //if (Input.GetKeyDown(KeyCode.M))
|
|
|
+ //{
|
|
|
+ // ManaReso.Get("G_Flower").SetActive(false);
|
|
|
|
|
|
- //Debug.Log(ManaGarden.Slot);
|
|
|
- }
|
|
|
+ // Debug.Log(ManaGarden.Slot);
|
|
|
+ //}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.N))
|
|
|
- {
|
|
|
- //ManaCenter.Coin = 0;
|
|
|
- //ManaCenter.Diamond = 0;
|
|
|
+ //if (Input.GetKeyDown(KeyCode.N))
|
|
|
+ //{
|
|
|
+ // ManaCenter.Coin = 0;
|
|
|
+ // ManaCenter.Diamond = 0;
|
|
|
|
|
|
- //foreach (var VARIABLE in ManaGarden.FlowerInfoDic)
|
|
|
- //{
|
|
|
- // VARIABLE.Value.Unlock = true;
|
|
|
- //}
|
|
|
+ // foreach (var VARIABLE in ManaGarden.FlowerInfoDic)
|
|
|
+ // {
|
|
|
+ // VARIABLE.Value.Unlock = true;
|
|
|
+ // }
|
|
|
|
|
|
- //foreach (var VARIABLE in ManaGarden.FlowerInfoDic)
|
|
|
- //{
|
|
|
- // VARIABLE.Value.Unlock = false;
|
|
|
- //}
|
|
|
+ // foreach (var VARIABLE in ManaGarden.FlowerInfoDic)
|
|
|
+ // {
|
|
|
+ // VARIABLE.Value.Unlock = false;
|
|
|
+ // }
|
|
|
|
|
|
- //ManaGarden.FlowerInfoDic.First().Value.Unlock = true;
|
|
|
- }
|
|
|
+ // ManaGarden.FlowerInfoDic.First().Value.Unlock = true;
|
|
|
+ //}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.B))
|
|
|
- {
|
|
|
- //foreach (var VARIABLE in ManaPlayer.CloseUnitDic)
|
|
|
- //{
|
|
|
- // VARIABLE.Value.Unlock();
|
|
|
- //}
|
|
|
- }
|
|
|
+ //if (Input.GetKeyDown(KeyCode.B))
|
|
|
+ //{
|
|
|
+ // foreach (var VARIABLE in ManaPlayer.CloseUnitDic)
|
|
|
+ // {
|
|
|
+ // VARIABLE.Value.Unlock();
|
|
|
+ // }
|
|
|
+ //}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.V))
|
|
|
- {
|
|
|
- //ManaServer.MailReward mailReward = new ManaServer.MailReward("1", "pack", "4");
|
|
|
- //ManaServer.MailReward mailReward1 = new ManaServer.MailReward("1", "close", "2");
|
|
|
+ //if (Input.GetKeyDown(KeyCode.V))
|
|
|
+ //{
|
|
|
+ // ManaServer.MailReward mailReward = new ManaServer.MailReward("1", "pack", "4");
|
|
|
+ // ManaServer.MailReward mailReward1 = new ManaServer.MailReward("1", "close", "2");
|
|
|
|
|
|
- //ManaServer.GetMainReward(mailReward);
|
|
|
- //ManaServer.GetMainReward(mailReward1);
|
|
|
+ // ManaServer.GetMainReward(mailReward);
|
|
|
+ // ManaServer.GetMainReward(mailReward1);
|
|
|
|
|
|
- //ManaGarden.ElfTimer = 0;
|
|
|
+ // ManaGarden.ElfTimer = 0;
|
|
|
|
|
|
- //ManaServer.Time = new DateTime(2007,1,1);
|
|
|
- }
|
|
|
+ // ManaServer.Time = new DateTime(2007, 1, 1);
|
|
|
+ //}
|
|
|
|
|
|
//if (Input.GetKeyDown(KeyCode.P))
|
|
|
//{
|
|
|
// ManaData.Level += 20;
|
|
|
//}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.O))
|
|
|
- {
|
|
|
- //for (int i = 0; i < ManaCenter.CoolList.Count; i++)
|
|
|
- //{
|
|
|
- // ManaCenter.CoolList[i].CoolTimer = 0;
|
|
|
- //}
|
|
|
- }
|
|
|
+ //if (Input.GetKeyDown(KeyCode.O))
|
|
|
+ //{
|
|
|
+ // for (int i = 0; i < ManaCenter.CoolList.Count; i++)
|
|
|
+ // {
|
|
|
+ // ManaCenter.CoolList[i].CoolTimer = 0;
|
|
|
+ // }
|
|
|
+ //}
|
|
|
|
|
|
//if (Input.GetKeyDown(KeyCode.I))
|
|
|
//{
|