|
@@ -174,6 +174,11 @@ namespace GFGGame
|
|
}
|
|
}
|
|
private void UpdateGuideRect(object param = null)
|
|
private void UpdateGuideRect(object param = null)
|
|
{
|
|
{
|
|
|
|
+ if (!isShowing)
|
|
|
|
+ {
|
|
|
|
+ Timers.inst.Remove(UpdateGuideRect);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if (guideTarget != null)
|
|
if (guideTarget != null)
|
|
{
|
|
{
|
|
Vector2 pos = guideTarget.LocalToGlobal(Vector2.zero);
|
|
Vector2 pos = guideTarget.LocalToGlobal(Vector2.zero);
|