|
@@ -26,7 +26,7 @@ namespace Fort23.Mono.Phases
|
|
base.Active();
|
|
base.Active();
|
|
actionList.Add(OnStep301);
|
|
actionList.Add(OnStep301);
|
|
actionList.Add(OnStep302);
|
|
actionList.Add(OnStep302);
|
|
- actionList.Add(OnStep303);
|
|
|
|
|
|
+ // actionList.Add(OnStep303);
|
|
|
|
|
|
|
|
|
|
actionList.Add(OnStepEnd);
|
|
actionList.Add(OnStepEnd);
|
|
@@ -73,20 +73,20 @@ namespace Fort23.Mono.Phases
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 点击主界面神识
|
|
|
|
|
|
+ /// 点击主界面铃铛按钮
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <param name="obj"></param>
|
|
/// <param name="obj"></param>
|
|
public async CTask OnStep301(UnityEngine.Object obj)
|
|
public async CTask OnStep301(UnityEngine.Object obj)
|
|
{
|
|
{
|
|
pgm.StepInit();
|
|
pgm.StepInit();
|
|
- GameObject gameObject = UIManager.Instance.GetComponent<AppBarPanel>().bnt_shengShi.gameObject;
|
|
|
|
|
|
+ GameObject gameObject = UIManager.Instance.GetComponent<MainPanel>().Btn_Event.gameObject;
|
|
Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
|
|
|
|
pgm.SetfxTransVisiable(true);
|
|
pgm.SetfxTransVisiable(true);
|
|
pgm.SetMaskTarget(gameObject);
|
|
pgm.SetMaskTarget(gameObject);
|
|
pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
|
|
pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
|
|
- AccountFileInfo.Instance.playerData.divineSensePoint += 300;
|
|
|
|
|
|
+ // AccountFileInfo.Instance.playerData.divineSensePoint += 300;
|
|
|
|
|
|
await pgm.ConfigLogic(301, delegate() { });
|
|
await pgm.ConfigLogic(301, delegate() { });
|
|
|
|
|
|
@@ -94,30 +94,30 @@ namespace Fort23.Mono.Phases
|
|
pgm.SetFingerVisiable(true);
|
|
pgm.SetFingerVisiable(true);
|
|
}
|
|
}
|
|
|
|
|
|
- /// <summary>
|
|
|
|
- /// 开始探索
|
|
|
|
- /// </summary>
|
|
|
|
- /// <param name="obj"></param>
|
|
|
|
- public async CTask OnStep302(UnityEngine.Object obj)
|
|
|
|
- {
|
|
|
|
- pgm.StepInit();
|
|
|
|
- await TimerComponent.Instance.WaitAsync(100);
|
|
|
|
- GameObject gameObject = UIManager.Instance.GetComponent<DivineSenceInfoPanel>().Btn_Ok.gameObject;
|
|
|
|
- Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
|
|
- Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
|
|
|
|
+ // /// <summary>
|
|
|
|
+ // ///
|
|
|
|
+ // /// </summary>
|
|
|
|
+ // /// <param name="obj"></param>
|
|
|
|
+ // public async CTask OnStep302(UnityEngine.Object obj)
|
|
|
|
+ // {
|
|
|
|
+ // pgm.StepInit();
|
|
|
|
+ // await TimerComponent.Instance.WaitAsync(100);
|
|
|
|
+ // GameObject gameObject = UIManager.Instance.GetComponent<DivineSenceInfoPanel>().Btn_Ok.gameObject;
|
|
|
|
+ // Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
|
|
+ // Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
|
|
+ //
|
|
|
|
+ // pgm.SetfxTransVisiable(true);
|
|
|
|
+ // pgm.SetMaskTarget(gameObject);
|
|
|
|
+ // pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
|
|
|
|
+ //
|
|
|
|
+ // await pgm.ConfigLogic(302, delegate() { });
|
|
|
|
+ //
|
|
|
|
+ // pgm.SetFingerPos(localPos);
|
|
|
|
+ // pgm.SetFingerVisiable(true);
|
|
|
|
+ // }
|
|
|
|
|
|
- pgm.SetfxTransVisiable(true);
|
|
|
|
- pgm.SetMaskTarget(gameObject);
|
|
|
|
- pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
|
|
|
|
-
|
|
|
|
- await pgm.ConfigLogic(302, delegate() { });
|
|
|
|
|
|
|
|
- pgm.SetFingerPos(localPos);
|
|
|
|
- pgm.SetFingerVisiable(true);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- public async CTask OnStep303(UnityEngine.Object obj)
|
|
|
|
|
|
+ public async CTask OnStep302(UnityEngine.Object obj)
|
|
{
|
|
{
|
|
pgm.StepInit();
|
|
pgm.StepInit();
|
|
await TimerComponent.Instance.WaitAsync(100);
|
|
await TimerComponent.Instance.WaitAsync(100);
|