示例#1
0
        private ShotView CreateShotView(Shot shot)
        {
            var prefab = _shotViewPrefabs[0];

            return(Instantiate <ShotView>(prefab, shot.Position, Quaternion.LookRotation(shot.Direction), transform));
        }