add
This commit is contained in:
parent
d4dbcbec7e
commit
0898c4f976
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user