/// <summary> /// Initializes a new instance of the <see cref="PrefabEditorController"/> class. /// </summary> /// <param name="asset">The prefab associated with this instance.</param> /// <param name="editor">The editor associated with this instance.</param> public PrefabEditorController([NotNull] AssetViewModel asset, [NotNull] PrefabEditorViewModel editor) : base(asset, editor, CreateEditorGame) { }
/// <inheritdoc /> protected override EntityHierarchyEditorViewModel CreateEditorViewModel(AssetViewModel asset) { return(PrefabEditorViewModel.Create((PrefabViewModel)asset)); }