コード例 #1
0
ファイル: PlayerID.cs プロジェクト: direct1889/dUtility
 /// <summary> GamePadIDをGamePadRawIDに変換 </summary>
 public static GamePadRaw ToRawID(this Player playerID) => IdConverter.ToRawID(IdConverter.ToGamePadID(playerID));
コード例 #2
0
ファイル: PlayerID.cs プロジェクト: direct1889/dUtility
        // public static bool In(this Player own, params Player[] others) {
        //     return others.Contains(own);
        // }

        /// <summary> PlayerIDをGamePadIDに変換 </summary>
        public static GamePad ToGPID(this Player playerID) => IdConverter.ToGamePadID(playerID);