WuhuIslandTesting/Library/PackageCache/com.unity.shadergraph@8148.12.1-8/Editor/Drawing/Interfaces/ISGViewModel.cs
2025-01-07 02:06:59 +01:00

13 lines
403 B
C#

using UnityEngine.UIElements;
namespace UnityEditor.ShaderGraph.Drawing
{
interface ISGViewModel
{
VisualElement parentView { get; set; }
// Wipes all data in this view-model that will be fed to the view that depends on it
// A notable point is that this function typically should not null out the parentView field seen above
void ResetViewModelData();
}
}