|
@@ -61,10 +61,14 @@ public class ManaTutorial : Regist
|
|
|
public static bool ConnectExempt_;
|
|
|
|
|
|
public static bool TutorialB;
|
|
|
+ public static bool TutorialC;
|
|
|
public static bool TutorialB_;
|
|
|
+ public static bool TutorialC_;
|
|
|
|
|
|
public static int TutorialIndexA;
|
|
|
public static int TutorialIndexB;
|
|
|
+ public static int TutorialIndexC;
|
|
|
+
|
|
|
public static int PayExemptAmt;
|
|
|
public static int ConnectExemptAmt;
|
|
|
public static bool TutorialA;
|
|
@@ -103,13 +107,13 @@ public class ManaTutorial : Regist
|
|
|
|
|
|
if (TutorialIndexA == 1)
|
|
|
{
|
|
|
- PrepareStep1();
|
|
|
+ PrepareStepA1();
|
|
|
}
|
|
|
else if (TutorialIndexA == 2)
|
|
|
{
|
|
|
Garden.Instance.TutorialToRegular();
|
|
|
|
|
|
- PrepareStep2();
|
|
|
+ PrepareStepA2();
|
|
|
}
|
|
|
else if (TutorialIndexA == 4)
|
|
|
{
|
|
@@ -131,13 +135,13 @@ public class ManaTutorial : Regist
|
|
|
Garden.Instance.TutorialToRegular();
|
|
|
ManaUI.Instance.TutorialToRegular();
|
|
|
|
|
|
- PrepareStep6();
|
|
|
+ PrepareStepA6();
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
- public static void EndStep1()
|
|
|
+ public static void EndStepA1()
|
|
|
{
|
|
|
Garden.Instance.TutorialToRegular();
|
|
|
|
|
@@ -145,59 +149,59 @@ public class ManaTutorial : Regist
|
|
|
Destroy(ManaReso.Get("PlayerBk2").gameObject);
|
|
|
Destroy(ManaReso.Get("PlayerBk3").gameObject);
|
|
|
|
|
|
- PrepareStep2();
|
|
|
+ PrepareStepA2();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep2()
|
|
|
+ public static void EndStepA2()
|
|
|
{
|
|
|
Tutorial.HightDisable();
|
|
|
|
|
|
- PrepareStep3();
|
|
|
+ PrepareStepA3();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep3()
|
|
|
+ public static void EndStepA3()
|
|
|
{
|
|
|
Tutorial.HightDisable();
|
|
|
|
|
|
ManaReso.SetActive("D_Quit", true);
|
|
|
|
|
|
- PrepareStep4();
|
|
|
+ PrepareStepA4();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep4()
|
|
|
+ public static void EndStepA4()
|
|
|
{
|
|
|
Tutorial.HightDisable();
|
|
|
|
|
|
- PrepareStep5();
|
|
|
+ PrepareStepA5();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep5()
|
|
|
+ public static void EndStepA5()
|
|
|
{
|
|
|
- PrepareStep6();
|
|
|
+ PrepareStepA6();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep6()
|
|
|
+ public static void EndStepA6()
|
|
|
{
|
|
|
Tutorial.HightDisable();
|
|
|
|
|
|
- PrepareStep7();
|
|
|
+ PrepareStepA7();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep7()
|
|
|
+ public static void EndStepA7()
|
|
|
{
|
|
|
Tutorial.HightDisable(0, true);
|
|
|
|
|
|
- PrepareStep8();
|
|
|
+ PrepareStepA8();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep8()
|
|
|
+ public static void EndStepA8()
|
|
|
{
|
|
|
Tutorial.HightDisable(0, true);
|
|
|
|
|
|
- PrepareStep9();
|
|
|
+ PrepareStepA9();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep9()
|
|
|
+ public static void EndA()
|
|
|
{
|
|
|
TutorialA = false;
|
|
|
|
|
@@ -213,7 +217,7 @@ public class ManaTutorial : Regist
|
|
|
}
|
|
|
|
|
|
|
|
|
- public static void PrepareStep1()
|
|
|
+ public static void PrepareStepA1()
|
|
|
{
|
|
|
TutorialIndexA = 1;
|
|
|
|
|
@@ -268,14 +272,14 @@ public class ManaTutorial : Regist
|
|
|
EventType.BackwardFinish,
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep1();
|
|
|
+ EndStepA1();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep2()
|
|
|
+ public static void PrepareStepA2()
|
|
|
{
|
|
|
TutorialIndexA = 2;
|
|
|
|
|
@@ -307,12 +311,12 @@ public class ManaTutorial : Regist
|
|
|
"C_MiniGame",
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep2();
|
|
|
+ EndStepA2();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep3()
|
|
|
+ public static void PrepareStepA3()
|
|
|
{
|
|
|
ManaReso.Get("Tutorial").SetCollider(false);
|
|
|
|
|
@@ -344,12 +348,12 @@ public class ManaTutorial : Regist
|
|
|
"Da_GetAward",
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep3();
|
|
|
+ EndStepA3();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep4()
|
|
|
+ public static void PrepareStepA4()
|
|
|
{
|
|
|
TutorialIndexA = 4;
|
|
|
|
|
@@ -374,7 +378,7 @@ public class ManaTutorial : Regist
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep5()
|
|
|
+ public static void PrepareStepA5()
|
|
|
{
|
|
|
Tween tween = ManaReso.Get("G_Flower").TweenForCG();
|
|
|
|
|
@@ -415,12 +419,12 @@ public class ManaTutorial : Regist
|
|
|
EventType.BackwardFinish,
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep5();
|
|
|
+ EndStepA5();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep6()
|
|
|
+ public static void PrepareStepA6()
|
|
|
{
|
|
|
TutorialIndexA = 6;
|
|
|
|
|
@@ -446,12 +450,12 @@ public class ManaTutorial : Regist
|
|
|
"C_Manage",
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep6();
|
|
|
+ EndStepA6();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep7()
|
|
|
+ public static void PrepareStepA7()
|
|
|
{
|
|
|
Tween tween = ManaReso.Get("F_Manage0").GetTweenVec();
|
|
|
|
|
@@ -496,14 +500,14 @@ public class ManaTutorial : Regist
|
|
|
() =>
|
|
|
{
|
|
|
ManaReso.Get("Fe_Info").TweenBacCG();
|
|
|
- EndStep7();
|
|
|
+ EndStepA7();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep8()
|
|
|
+ public static void PrepareStepA8()
|
|
|
{
|
|
|
Tween tween = ManaReso.Get("Fe_Info").GetTweenCG();
|
|
|
|
|
@@ -547,14 +551,14 @@ public class ManaTutorial : Regist
|
|
|
() =>
|
|
|
{
|
|
|
ManaReso.Get("Fe_Info").TweenBacCG();
|
|
|
- EndStep8();
|
|
|
+ EndStepA8();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep9()
|
|
|
+ public static void PrepareStepA9()
|
|
|
{
|
|
|
Tween tween = ManaReso.Get("Fe_Info").GetTweenCG();
|
|
|
|
|
@@ -575,25 +579,134 @@ public class ManaTutorial : Regist
|
|
|
"F_SkillBk11",
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep9();
|
|
|
+ EndA();
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ public static void EndStepC1()
|
|
|
+ {
|
|
|
+ Tutorial.HightDisable();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static void EndC()
|
|
|
+ {
|
|
|
+ TutorialC = false;
|
|
|
+
|
|
|
+ Tutorial.HightDisable();
|
|
|
+
|
|
|
+ ManaReso.SetActive("N_Tutorial", false);
|
|
|
+
|
|
|
+ PayExemptAmt = 0;
|
|
|
+ ConnectExemptAmt = 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static void PrepareStepC1()
|
|
|
+ {
|
|
|
+ TutorialC = true;
|
|
|
+ TutorialC_ = false;
|
|
|
+
|
|
|
+ Tween tween = ManaReso.Get("Fe_Info").TweenBacCG();
|
|
|
+
|
|
|
+ tween.AddEventOnetime
|
|
|
+ (
|
|
|
+ EventType.BackwardFinish,
|
|
|
+ () =>
|
|
|
+ {
|
|
|
+ ManaReso.Get("F_Manage").TweenBacGra();
|
|
|
+
|
|
|
+ tween = ManaReso.Get("C_Group").GetTweenCG();
|
|
|
+
|
|
|
+ tween.AddEventOnetime
|
|
|
+ (
|
|
|
+ EventType.ForwardFinish,
|
|
|
+ () =>
|
|
|
+ {
|
|
|
+ ManaReso.SetActive("N_Tutorial", true);
|
|
|
+
|
|
|
+ tween = ManaReso.Get("N_Mask").TweenForGra();
|
|
|
+
|
|
|
+ tween.AddEventOnetime
|
|
|
+ (
|
|
|
+ EventType.ForwardFinish,
|
|
|
+ () =>
|
|
|
+ {
|
|
|
+ PayExemptAmt = 1;
|
|
|
+
|
|
|
+ ManaReso.SetActive("C_Visit", true);
|
|
|
+
|
|
|
+ Tutorial.HightScreen(ManaReso.Get("C_VisitArrow0"), ManaReso.Get("C_Visit"));
|
|
|
+
|
|
|
+ ManaReso.AddButtonEventOnetime
|
|
|
+ (
|
|
|
+ "C_Visit",
|
|
|
+ () =>
|
|
|
+ {
|
|
|
+ EndC();
|
|
|
+
|
|
|
+ //EndStepC1();
|
|
|
+
|
|
|
+ //PrepareStepC2();
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ public static void PrepareStepC2()
|
|
|
+ {
|
|
|
+ Tween tween = ManaReso.Get("I_BlackMask").GetTweenCG();
|
|
|
+
|
|
|
+ tween.AddEventOnetime
|
|
|
+ (
|
|
|
+ EventType.ForwardFinish,
|
|
|
+ () =>
|
|
|
+ {
|
|
|
+ Auxiliary.Instance.DelayCall
|
|
|
+ (
|
|
|
+ () =>
|
|
|
+ {
|
|
|
+ ManaReso.SetActive("C_Return", true);
|
|
|
+
|
|
|
+ Tutorial.HightScreen(ManaReso.Get("C_ReturnArrow0"), ManaReso.Get("C_Return"));
|
|
|
+
|
|
|
+ ManaReso.AddButtonEventOnetime
|
|
|
+ (
|
|
|
+ "C_Return",
|
|
|
+ () =>
|
|
|
+ {
|
|
|
+ EndC();
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ 3f
|
|
|
+ );
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
|
|
|
- public static void EndStep10()
|
|
|
+ public static void EndStepB1()
|
|
|
{
|
|
|
Tutorial.HightDisable();
|
|
|
}
|
|
|
|
|
|
- public static void EndStep11()
|
|
|
+ public static void EndB()
|
|
|
{
|
|
|
Tutorial.HightDisable();
|
|
|
|
|
|
TutorialB = false;
|
|
|
+
|
|
|
+ PayExemptAmt = 0;
|
|
|
+ ConnectExemptAmt = 0;
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStep10()
|
|
|
+ public static void PrepareStepB1()
|
|
|
{
|
|
|
TutorialB = false;
|
|
|
TutorialB_ = false;
|
|
@@ -609,7 +722,7 @@ public class ManaTutorial : Regist
|
|
|
|
|
|
if (skill.ItemStatus == SkillStatus.Upgrade)
|
|
|
{
|
|
|
- PrepareStepB11();
|
|
|
+ PrepareStepB3();
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -648,7 +761,7 @@ public class ManaTutorial : Regist
|
|
|
"Fe_Btn",
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep10();
|
|
|
+ EndStepB1();
|
|
|
|
|
|
move = ManaReso.Get("MainCamera").CreateZoom2D();
|
|
|
|
|
@@ -657,7 +770,7 @@ public class ManaTutorial : Regist
|
|
|
EventType.ForwardFinish,
|
|
|
() =>
|
|
|
{
|
|
|
- PrepareStepA11();
|
|
|
+ PrepareStepB2();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
@@ -667,7 +780,7 @@ public class ManaTutorial : Regist
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStepA11()
|
|
|
+ public static void PrepareStepB2()
|
|
|
{
|
|
|
ManaReso.Get("N_Mask").TweenForGra();
|
|
|
|
|
@@ -726,14 +839,14 @@ public class ManaTutorial : Regist
|
|
|
"Fe_Btn",
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep11();
|
|
|
+ EndB();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- public static void PrepareStepB11()
|
|
|
+ public static void PrepareStepB3()
|
|
|
{
|
|
|
Tween tween = ManaReso.Get("Fe_Info").TweenBacCG();
|
|
|
|
|
@@ -790,7 +903,7 @@ public class ManaTutorial : Regist
|
|
|
"Fe_Btn",
|
|
|
() =>
|
|
|
{
|
|
|
- EndStep11();
|
|
|
+ EndB();
|
|
|
}
|
|
|
);
|
|
|
}
|