public void FromUniqueString(string s)
{
this.Load();
int index = s.IndexOf(";");
if (index < 0)
{
Debug.LogError("Malformed string in Keyboard preferences");
}
else
{
this.m_name = s.Substring(0, index);
this.m_event = Event.KeyboardEvent(s.Substring(index + 1));
}
}