コード例 #1
0
 private void Start()
 {
     bulletObejctPool  = BulletObejctPool.Instance;
     rb.freezeRotation = true;
 }
コード例 #2
0
 public void Awake()
 {
     bulletQueue = new Queue <GameObject>();
     //Singleton
     Instance = this;
 }