public AnimationCommand(EffectGraphic graphic, EffectGraphicsView view)
 {
     this.graphic = graphic;
     this.view    = view;
 }
Example #2
0
 private EffectGraphic effectGraphic; // initialized in awake
 public void ShowInEffectsView()
 {
     EffectGraphicsView.Get().AddToQueue(effectGraphic);
 }
 private void Awake()
 {
     instance = this;
     remainingTimeDefaultWidth = remainingTimeGraphic.size.x;
 }