Ejemplo n.º 1
0
 public static bool DoMediumFoldoutError(Dictionary <Material, Toggles> foldouts, Material mat, MaterialEditor me, MaterialProperty toggleProp, bool errorCond, int buttonCount, string header)
 {
     foldouts[mat].SetState(header, MediumFoldoutError(header, foldouts[mat].GetState(header), errorCond, buttonCount, me, mat));
     FoldoutProperty(me, toggleProp);
     MGUI.Space6();
     return(foldouts[mat].GetState(header));
 }
Ejemplo n.º 2
0
 public static bool DoMediumFoldout(Dictionary <Material, Toggles> foldouts, Material mat, MaterialEditor me, MaterialProperty prop, int buttonCount, string header)
 {
     foldouts[mat].SetState(header, MediumFoldout(header, foldouts[mat].GetState(header), buttonCount, me));
     FoldoutProperty(me, prop);
     MGUI.Space6();
     return(foldouts[mat].GetState(header));
 }