コード例 #1
0
 private void DrawGlobalResetButton(Rect resetRect)
 {
     if (Widgets.ButtonText(resetRect, _resetText))
     {
         ConfirmationDialog.Open("TKUtils.PawnKindStore.ConfirmReset".TranslateSimple(), PerformGlobalReset);
     }
 }
コード例 #2
0
 private void DrawGlobalResetButton(Rect canvas)
 {
     if (Widgets.ButtonText(canvas, _resetAllText))
     {
         ConfirmationDialog.Open("TKUtils.TraitStore.ConfirmReset".TranslateSimple(), PerformGlobalReset);
     }
 }