Example #1
0
 public void InitializeController(BulletController bulletController)
 {
     controller = bulletController;
 }
Example #2
0
        public BulletController CreateBullet()
        {
            BulletController bulletGo = SimplePool.Spawn(BulletPrefab, Vector3.zero, Quaternion.identity).GetComponent <BulletController>();

            return(bulletGo);
        }