isVisibleSwitch method

void isVisibleSwitch()

Implementation

void isVisibleSwitch(){
  visible = !visible!;
}