private IEnumerator Shoot_Bullet() { while (true) { _gravitate_Player.enabled = true; yield return(new WaitForSeconds(1.0f)); //予備動作 StartCoroutine("Blink"); _gravitate_Player.enabled = false; GetComponent <Rigidbody2D>().velocity = new Vector2(0, 0); yield return(new WaitForSeconds(1.2f)); //ショット _shoot.Set_Bullet_Pool(bullet_Pool, null); _shoot.Odd_Num_Shoot(1, 0, 50f, 10); UsualSoundManager.Instance.Play_Shoot_Sound(); yield return(new WaitForSeconds(0.8f)); _gravitate_Player.enabled = true; yield return(new WaitForSeconds(4.0f)); } }
//フェーズ1赤弾 public void Shoot_Red_Bullet() { _shoot.Set_Bullet_Pool(pool_Manager.Get_Pool(red_Bullet), null); List <GameObject> bullet_List = new List <GameObject>(); bullet_List = _shoot.Odd_Num_Shoot(1, 0, 60f, 10); _bullet_Acc.Accelerat_Bullet(bullet_List, 1.01f, 4); }