/// <summary> /// 游戏键按下 /// </summary> /// <param name="gk"></param> /// <returns></returns> public static bool isGameKeyPress(EGameKey gk) { if (isKeyPress(keyMapping[gk])) { return true; } return false; }
/// <summary> /// 游戏键释放 /// </summary> /// <param name="gk"></param> /// <returns></returns> public static bool isGameKeyJustRelease(EGameKey gk) { if(isKeyJustRelease(keyMapping[gk])) { return true; } return false; }