protected override void Update ()
{
base.Update();
if (!UICamera.inputHasFocus)
{
if (Input.GetKeyDown(KeyCode.Slash) && !MyPlayer.HasBoundKey(KeyCode.Slash))
{
input.isSelected = true;
}
else if (Input.GetKeyUp(KeyCode.R) && !MyPlayer.HasBoundKey(KeyCode.R))
{
if (!string.IsNullOrEmpty(GameChat.lastPlayerPM))
{
input.isSelected = true;
input.value = "/pm " + GameChat.lastPlayerPM + ": ";
}
}
}
}