|
@@ -158,6 +158,8 @@ public class Auxiliary : Regist
|
|
|
|
|
|
if (Input.GetKeyDown(KeyCode.X))
|
|
|
{
|
|
|
+ ManaPlayer.Player.PlayAnim("newAnimation2");
|
|
|
+
|
|
|
//StartCoroutine(ManaServer.DownloadAllAsset(new List<string>() { "http://or5zgoeui.bkt.clouddn.com/game_icon.png", "https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3853411417,2245648913&fm=26&gp=0.jpg" }, ManaServer.DownloadAllTexture));
|
|
|
|
|
|
//ManaMiniGame.GameTimer = 45;
|
|
@@ -175,6 +177,8 @@ public class Auxiliary : Regist
|
|
|
|
|
|
if (Input.GetKeyDown(KeyCode.C))
|
|
|
{
|
|
|
+ ManaPlayer.Player.PlayAnim("newAnimation3");
|
|
|
+
|
|
|
//ManaReso.Get("C_Notify").TweenForCG();
|
|
|
|
|
|
//ManaMiniGame.Score += 400;
|
|
@@ -189,43 +193,47 @@ public class Auxiliary : Regist
|
|
|
// Debug.Log(ManaGarden.Slot);
|
|
|
//}
|
|
|
|
|
|
- if (Input.GetKeyDown(KeyCode.N))
|
|
|
+ if (Input.GetKeyDown(KeyCode.V))
|
|
|
{
|
|
|
- //ManaCenter.Coin = 0;
|
|
|
- //ManaCenter.Diamond = 0;
|
|
|
+ ManaPlayer.Player.Flip(PlayerDirection.Right);
|
|
|
|
|
|
- foreach (var VARIABLE in ManaGarden.FlowerInfoDic)
|
|
|
- {
|
|
|
- VARIABLE.Value.Unlock = true;
|
|
|
- }
|
|
|
+ //ManaServer.MailReward mailReward = new ManaServer.MailReward("1", "pack", "4");
|
|
|
+ //ManaServer.MailReward mailReward1 = new ManaServer.MailReward("1", "close", "2");
|
|
|
+
|
|
|
+ //ManaServer.GetMainReward(mailReward);
|
|
|
+ //ManaServer.GetMainReward(mailReward1);
|
|
|
+
|
|
|
+ //ManaGarden.ElfTimer = 0;
|
|
|
+
|
|
|
+ //ManaServer.Time = new DateTime(2007, 1, 1);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (Input.GetKeyDown(KeyCode.B))
|
|
|
+ {
|
|
|
+ ManaPlayer.Player.Flip(PlayerDirection.Left);
|
|
|
|
|
|
- //foreach (var VARIABLE in ManaGarden.FlowerInfoDic)
|
|
|
+ //foreach (var VARIABLE in ManaPlayer.CloseUnitDic)
|
|
|
//{
|
|
|
- // VARIABLE.Value.Unlock = false;
|
|
|
+ // VARIABLE.Value.Unlock();
|
|
|
//}
|
|
|
-
|
|
|
- //ManaGarden.FlowerInfoDic.First().Value.Unlock = true;
|
|
|
}
|
|
|
|
|
|
- //if (Input.GetKeyDown(KeyCode.B))
|
|
|
+ //if (Input.GetKeyDown(KeyCode.N))
|
|
|
//{
|
|
|
- // foreach (var VARIABLE in ManaPlayer.CloseUnitDic)
|
|
|
+ // ManaCenter.Coin = 0;
|
|
|
+ // ManaCenter.Diamond = 0;
|
|
|
+
|
|
|
+ // foreach (var VARIABLE in ManaGarden.FlowerInfoDic)
|
|
|
// {
|
|
|
- // VARIABLE.Value.Unlock();
|
|
|
+ // VARIABLE.Value.Unlock = true;
|
|
|
// }
|
|
|
- //}
|
|
|
|
|
|
- //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);
|
|
|
-
|
|
|
- // ManaGarden.ElfTimer = 0;
|
|
|
+ // foreach (var VARIABLE in ManaGarden.FlowerInfoDic)
|
|
|
+ // {
|
|
|
+ // VARIABLE.Value.Unlock = false;
|
|
|
+ // }
|
|
|
|
|
|
- // ManaServer.Time = new DateTime(2007, 1, 1);
|
|
|
+ // ManaGarden.FlowerInfoDic.First().Value.Unlock = true;
|
|
|
//}
|
|
|
|
|
|
//if (Input.GetKeyDown(KeyCode.P))
|