Esempio n. 1
0
 public override void DeserializeSpecialData(string key, string value)
 {
     switch (key)
     {
     case "chbt":
         channelBlendType = (ChannelBlendType)int.Parse(value);
         break;
     }
 }
Esempio n. 2
0
 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);
     }
 }