|
|
@@ -249,7 +249,7 @@ public class NewUserGuiderManager : MonoBehaviour
|
|
|
|
|
|
config = new NewUserGuiderConfig();
|
|
|
config.key = "设备-地磁计校准";
|
|
|
- config.frameTipPivot = "rt";
|
|
|
+ config.frameTipPivot = "rb";
|
|
|
config.onPrepare = (g) => {
|
|
|
if (!DeviceView.ins) {
|
|
|
g.customPreparePass = false;
|
|
|
@@ -262,10 +262,11 @@ public class NewUserGuiderManager : MonoBehaviour
|
|
|
// g.hollowOutMask.isTargetRectCanThrough = false;
|
|
|
g.SetIconPointerHitOpacity(0.8f);
|
|
|
g.config.hitPos = RectTransformUtils.GetPositionByPivot(btn, Vector2.one * 0.5f);
|
|
|
- g.config.pointerRotZ = 180;
|
|
|
- g.config.pointerPos = RectTransformUtils.GetPositionByPivot(btn, new Vector2(-0.1f, 0.2f));
|
|
|
- g.config.frameTipPos = RectTransformUtils.GetPositionByPivot(btn, new Vector2(0.3f, 0))
|
|
|
- + RectTransformUtils.CanvasV3ToScreenV3(Vector3.down * 45f, g.iconPointer);
|
|
|
+ g.config.pointerRotZ = 210;
|
|
|
+ g.config.pointerPos = RectTransformUtils.GetPositionByPivot(btn, new Vector2(0.3f, -1));
|
|
|
+ g.config.frameTipPos = RectTransformUtils.GetPositionByPivot(btn, new Vector2(-0.1f, 0))
|
|
|
+ + RectTransformUtils.CanvasV3ToScreenV3(Vector3.down * 220f, g.iconPointer);
|
|
|
+ g.FixFrameTipWidth(930);
|
|
|
};
|
|
|
config.onStart = (g) => {
|
|
|
g.GetMaskClickedEvent().RemoveAllListeners();
|