This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

This bothers me more than it should

By: a guest on Jan 25th, 2013  |  syntax: C#  |  size: 0.26 KB  |  views: 572  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         public void SetButtonState(bool selected)
  2.         {
  3.                 // button is selected, update art and scale
  4.                 if(selected)
  5.                 {
  6.                         actionCheck.isChecked = true;
  7.                 }
  8.                 // button is back to normal, update art and scale.
  9.                 else
  10.                 {
  11.                         actionCheck.isChecked = false;
  12.                 }
  13.         }
clone this paste RAW Paste Data