
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
14 lines
403 B
C#
14 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();
|
|
}
|
|
}
|