コード例 #1
0
ファイル: KilledTrooperView.cs プロジェクト: tomand/Troopers
        public void Play(Vector2 position)
        {
            IsAlive = true;

            _splitterSystem = new SplitterSystem(position, 0.05f);
            _particleView = new ParticleView(_splitterSystem, Camera);
            _particleView.GameObjectTexture = GameObjectTexture;
        }
コード例 #2
0
ファイル: ParticleView.cs プロジェクト: tomand/Troopers
 public ParticleView(SplitterSystem splitterSystem, Camera cam)
     : base(cam)
 {
     _splitterSystem = splitterSystem;
 }