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!
		
			
				
	
	
		
			33 lines
		
	
	
		
			848 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			848 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using UnityEditor.ShaderGraph.Internal;
 | 
						|
using UnityEngine;
 | 
						|
using UnityEngine.UIElements;
 | 
						|
 | 
						|
namespace UnityEditor.ShaderGraph.Drawing
 | 
						|
{
 | 
						|
    class ShaderInputViewModel : ISGViewModel
 | 
						|
    {
 | 
						|
        public ShaderInput model { get; set; }
 | 
						|
 | 
						|
        public VisualElement parentView { get; set; }
 | 
						|
 | 
						|
        internal bool isSubGraph { get; set; }
 | 
						|
        internal bool isInputExposed { get; set; }
 | 
						|
 | 
						|
        internal string inputName { get; set; }
 | 
						|
 | 
						|
        internal string inputTypeName { get; set; }
 | 
						|
 | 
						|
        internal Action<IGraphDataAction> requestModelChangeAction { get; set; }
 | 
						|
 | 
						|
        public void ResetViewModelData()
 | 
						|
        {
 | 
						|
            isSubGraph = false;
 | 
						|
            isInputExposed = false;
 | 
						|
            inputName = String.Empty;
 | 
						|
            inputTypeName = String.Empty;
 | 
						|
            requestModelChangeAction = null;
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |