Exemplo n.º 1
0
 /// <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)
 {
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 protected override EntityHierarchyEditorViewModel CreateEditorViewModel(AssetViewModel asset)
 {
     return(PrefabEditorViewModel.Create((PrefabViewModel)asset));
 }