示例#1
0
 protected RuntimePlatformInfo()
 {
     if (Instance != null)
     {
         throw new Exception("Can only create one instance of the RuntimePlatformInfo class.");
     }
     Instance = this;
 }
示例#2
0
 public override GamepadHardware createGamepad(Gamepad pad)
 {
     return(RuntimePlatformInfo.CreateGamepadHardware(pad));
 }