This commit is contained in:
hyskai 2024-10-31 02:54:24 +08:00
parent d4dbcbec7e
commit 0898c4f976

View File

@ -64,13 +64,14 @@ public class landContorl : MonoBehaviour
HightLight.SetActive(false); HightLight.SetActive(false);
if (!isGoldLand) return;
shopman.instance.OnType += addman; shopman.instance.OnType += addman;
} }
private void OnDisable() private void OnDisable()
{ {
if (!isGoldLand) return;
shopman.instance.OnType -= addman; shopman.instance.OnType -= addman;
} }