IEnumerator KaiKenAction(LandProperty land) { Shovel.transform.position = land.transform.position; //Shovel.gameObject.SetActive(true); Debug.Log("准备开垦"); //yield return new WaitForSeconds(2); yield return(null); land.KaiKen_.isKaiken = true; //Shovel.gameObject.SetActive(false); Instantiate(SoundObj); land.TuDiKaiKen(true); Static.Instance.UpdateAllObj(); }