Ejemplo n.º 1
0
 public void OnButtonPressed(VirtualButtonBehaviour vb)
 {
     _onOff = !_onOff;
     myGraphic.SetActive(_onOff);
     CreatureManager.ChangeLightState(_onOff);
 }