Exemplo n.º 1
0
 public override void DeserializeSpecialData(string key, string value)
 {
     switch (key)
     {
     case "attp":
         arcTanType = (ArcTan2Type)int.Parse(value);
         break;
     }
 }
Exemplo n.º 2
0
 public override void DrawLowerPropertyBox()
 {
     EditorGUI.BeginChangeCheck();
     arcTanType = (ArcTan2Type)UndoableEnumPopupNamed(lowerRect, (int)arcTanType, atanTypeStr, "ArcTan2 type");
     if (EditorGUI.EndChangeCheck())
     {
         OnUpdateNode();
     }
 }