/// <summary> /// Adds a model to the viewer. /// </summary> /// <param name="model">The model to add.</param> private void Add(Model model) { this.model = model; // Create an init the new controller animator = new ModelAnimator(Game, model); animator.Enabled = true; animator.Visible = true; InitializeEffects(model); }
/// <summary> /// Adds a model to the viewer. /// </summary> /// <param name="model">The model to add.</param> private void Add(Model model) { this.model = model; // Create an init the new controller animator = new ModelAnimator(Game, model); animator.Enabled = true; animator.Visible = true; InitializeEffects(model); }