public override void Initialize() { var propAsset = Scene.AddCompnent(new AssetViewModel(_pfs, "Prop", Color.Red, Scene)); var editor = new PropCreatorEditorViewModel(propAsset, MainModelView.Data, ReferenceModelView.Data); Player.RegisterAsset(editor.Data); Editor = editor; }
public override void Initialize() { ReferenceModelView.Data.IsSelectable = true; var propAsset = Scene.AddCompnent(new AssetViewModel(_pfs, "NewAnim", Color.Red, Scene)); Player.RegisterAsset(propAsset); Editor = new Editor(_pfs, _skeletonHelper, MainModelView.Data, ReferenceModelView.Data, propAsset, Scene); }