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

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