问题描述 c#新手,在一个xna模板中看到一个按键函数,看不懂,求前辈指点 public bool IsNewKeyPress(Keys key, PlayerIndex? controllingPlayer, out PlayerIndex playerIndex) { if (controllingPlayer.HasValue) { // Read input from the specified player. playerIndex = controllingPlayer.Value;