Example #1
0
        public BulletController(BulletModel bulletModel, BulletView bulletPrefab, string layer)
        {
            BulletModel = bulletModel;

            BulletView = GameObject.Instantiate <BulletView>(bulletPrefab);

            BulletView.Initialize(this, layer);
        }