public BulletController(BulletModel bulletModel, BulletView bulletPrefab, Vector3 position, Quaternion rotation) { BulletModel = bulletModel; BulletView = GameObject.Instantiate <BulletView>(bulletPrefab, position, rotation); //BulletView = GameObject.Instantiate<BulletView>(bulletPrefab); BulletView.SetBulletController(this); BulletModel.SetBulletController(this); rigidBody = BulletView.GetComponent <Rigidbody>(); }