private IEnumerator DelayForGetCargo() { //circleBar.gameObject.SetActive(true); circleBar.StartBar(getCargoTime); yield return(new WaitForSeconds(getCargoTime)); //circleBarObject.gameObject.SetActive(false); GetCargoItem(); }
private IEnumerator DelayForGetCargo() { //circleBar.gameObject.SetActive(true); circleBar.StartBar(getCargoTime); yield return(new WaitForSeconds(getCargoTime)); //circleBarObject.gameObject.SetActive(false); GetCargoItem(); }