Exemplo n.º 1
0
 public void HandleActivation()
 {
     if (Controls.AxisAvailableActive(PlayerPrefs.GetString(axeX.GetComponent <OptionKey>().action)))
     {
         axeXm.GetComponent <OptionKey>().enabled = false;
     }
     else
     {
         axeXm.GetComponent <OptionKey>().enabled = true;
     }
     if (Controls.AxisAvailableActive(PlayerPrefs.GetString(axeY.GetComponent <OptionKey>().action)))
     {
         axeYm.GetComponent <OptionKey>().enabled = false;
     }
     else
     {
         axeYm.GetComponent <OptionKey>().enabled = true;
     }
 }