public override void DeserializeSpecialData(string key, string value) { switch (key) { case "chbt": channelBlendType = (ChannelBlendType)int.Parse(value); break; } }
public override void DrawLowerPropertyBox() { GUI.color = Color.white; EditorGUI.BeginChangeCheck(); channelBlendType = (ChannelBlendType)UndoableEnumPopup(lowerRect, channelBlendType, "switch channel blend type"); //currentUV = (UV)EditorGUI.EnumPopup( lowerRect, currentUV ); if (EditorGUI.EndChangeCheck()) { UpdateMaskCompCountInputs(); OnUpdateNode(NodeUpdateType.Hard); } }