Ejemplo n.º 1
0
 public void CheckValid()
 {
     if (blueprint && blueprint.parts != null && !builder.ContainsParts(blueprint.parts))
     {
         valid      = false;
         text.color = Color.red;
         text.text  = " INADEQUATE PARTS ";
     }
     else
     {
         valid = true;
         CheckEmpty();
     }
 }