Exemple #1
0
        public void Play(Vector2 position)
        {
            IsAlive = true;

            _splitterSystem = new SplitterSystem(position, 0.05f);
            _particleView = new ParticleView(_splitterSystem, Camera);
            _particleView.GameObjectTexture = GameObjectTexture;
        }
Exemple #2
0
 public ParticleView(SplitterSystem splitterSystem, Camera cam)
     : base(cam)
 {
     _splitterSystem = splitterSystem;
 }