コード例 #1
0
 private IEnumerator UpdateCoroutine()
 {
     while (true)
     {
         ammoLabel.text = baseWeapon.AmmoCount().ToString("00");
         yield return(new WaitForSeconds(0.1f));
     }
 }