You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
744 B

using System;
using System.Collections.Generic;
using UnityEngine.UIElements;
namespace UnityEditor.ShaderGraph.Drawing
{
class BlackboardCategoryViewModel : ISGViewModel
{
public VisualElement parentView { get; set; }
internal string name { get; set; }
internal string associatedCategoryGuid { get; set; }
internal bool isExpanded { get; set; }
internal Action<IGraphDataAction> requestModelChangeAction { get; set; }
// Wipes all data in this view-model
public void ResetViewModelData()
{
name = String.Empty;
associatedCategoryGuid = String.Empty;
isExpanded = false;
requestModelChangeAction = null;
}
}
}