|
|
|
|
|
|
EditorGUILayout.PropertyField(m_SerializedProperty, m_Label, true, null); |
|
|
|
m_SerializedObject.ApplyModifiedProperties(); |
|
|
|
if (changeCheckScope.changed) |
|
|
|
{ |
|
|
|
m_Node.owner.owner.RegisterCompleteObjectUndo("Change " + m_Node.name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
var e = Event.current; |
|
|
|
|
|
|
m_PropertyInfo.SetValue(m_Node, m_GradientObject.gradient, null); |
|
|
|
m_PrevWindow = EditorWindow.focusedWindow.ToString(); |
|
|
|
Debug.Log("Update Gradient Shader"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |