示例#1
0
 public void OnFixButtonPress()
 {
     if (_selectedPart != null)
     {
         if (_masterScript.storyResources.getResource("metal") >= 10)
         {
             _selectedPart.SetPartStatus(PartStatus.OK);
             _masterScript.storyResources.addResource("metal", -10);
         }
     }
 }