|
@@ -80,6 +80,9 @@ namespace Fort23.Mono.Phases
|
|
|
/// <param name="obj"></param>
|
|
|
public async CTask OnStep701(UnityEngine.Object obj)
|
|
|
{
|
|
|
+ pgm.StepInit();
|
|
|
+ await TimerComponent.Instance.WaitAsync(100);
|
|
|
+
|
|
|
GameObject gameObject = UIManager.Instance.GetComponent<ShopPanel>()._shopBtnWidgets[0].own;
|
|
|
Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
|
Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
@@ -87,7 +90,7 @@ namespace Fort23.Mono.Phases
|
|
|
pgm.SetfxTransVisiable(true);
|
|
|
pgm.SetMaskTarget(gameObject);
|
|
|
pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
|
|
|
- await pgm.ConfigLogic(6701, delegate() { });
|
|
|
+ await pgm.ConfigLogic(701, delegate() { });
|
|
|
|
|
|
pgm.SetFingerPos(localPos);
|
|
|
pgm.SetFingerVisiable(true);
|
|
@@ -99,6 +102,10 @@ namespace Fort23.Mono.Phases
|
|
|
/// <param name="obj"></param>
|
|
|
public async CTask OnStep702(UnityEngine.Object obj)
|
|
|
{
|
|
|
+
|
|
|
+ pgm.StepInit();
|
|
|
+ await TimerComponent.Instance.WaitAsync(100);
|
|
|
+
|
|
|
GameObject gameObject = null;
|
|
|
ShopPanel shopPanel = UIManager.Instance.GetComponent<ShopPanel>();
|
|
|
foreach (var shopPanelShopGroupWidgetType1 in shopPanel._shopGroupWidgetType1s)
|
|
@@ -129,6 +136,10 @@ namespace Fort23.Mono.Phases
|
|
|
/// <param name="obj"></param>
|
|
|
public async CTask OnStep703(UnityEngine.Object obj)
|
|
|
{
|
|
|
+
|
|
|
+ pgm.StepInit();
|
|
|
+ await TimerComponent.Instance.WaitAsync(100);
|
|
|
+
|
|
|
GameObject gameObject = UIManager.Instance.GetComponent<ShopGachaPanel>().Btn_LingQu.gameObject;
|
|
|
Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
|
Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
@@ -148,6 +159,9 @@ namespace Fort23.Mono.Phases
|
|
|
/// <param name="obj"></param>
|
|
|
public async CTask OnStep704(UnityEngine.Object obj)
|
|
|
{
|
|
|
+ pgm.StepInit();
|
|
|
+ await TimerComponent.Instance.WaitAsync(100);
|
|
|
+
|
|
|
GameObject gameObject = UIManager.Instance.GetComponent<ShopPanel>()._shopBtnWidgets[1].own;
|
|
|
Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
|
Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
@@ -168,8 +182,11 @@ namespace Fort23.Mono.Phases
|
|
|
/// <param name="obj"></param>
|
|
|
public async CTask OnStep705(UnityEngine.Object obj)
|
|
|
{
|
|
|
+ pgm.StepInit();
|
|
|
+ await TimerComponent.Instance.WaitAsync(100);
|
|
|
+
|
|
|
GameObject gameObject =
|
|
|
- (UIManager.Instance.GetComponent<ShopPanel>()._shopGroupWidgetType1s[1] as ShopGroupWidgetType1)
|
|
|
+ (UIManager.Instance.GetComponent<ShopPanel>()._shopGroupWidgetType1s[0] as ShopGroupWidgetType1)
|
|
|
._shopItemWidgetType2s[4].own;
|
|
|
Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
|
Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
@@ -190,6 +207,9 @@ namespace Fort23.Mono.Phases
|
|
|
/// <param name="obj"></param>
|
|
|
public async CTask OnStep706(UnityEngine.Object obj)
|
|
|
{
|
|
|
+ pgm.StepInit();
|
|
|
+ await TimerComponent.Instance.WaitAsync(100);
|
|
|
+
|
|
|
GameObject gameObject =
|
|
|
UIManager.Instance.GetComponent<ShopBuyItemPanel>().Btn_Function.gameObject;
|
|
|
Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|