//* -----------------------------------------------------------------------* /// <summary>アナログ入力感度を初期化します。</summary> public void initializeSensitivity() { CInputHelper input = CInput.instance; float t = 0.8f; input.collection.threshold = t; input.keyboard.threshold = t; input.gamePad.threshold = t; input.legacy.threshold = t; }
//* ────________________________________* //* methods ───────────────────────────────-* //* -----------------------------------------------------------------------* /// <summary>初期化処理を実行します。</summary> protected override void initialize() { CInputHelper input = CInput.instance; input.activeDevice = activeDevice; input.keyboard.assignList = Array.AsReadOnly(assignKeyboard); input.gamePad.assignList = Array.AsReadOnly(assignGamePad); input.legacy.assignList = Array.AsReadOnly(assignLegacyGamePad); new CGameComponent(CGame.instance, input.collection, true); initializeSensitivity(); }
//* ────________________________________* //* methods ───────────────────────────────-* //* -----------------------------------------------------------------------* /// <summary>初期化処理を実行します。</summary> protected override void initialize() { CInputHelper input = CInput.instance; input.activeDevice = activeDevice; input.keyboard.assignList = new List <int>(assignKeyboard).AsReadOnly(); input.gamePad.assignList = new List <int>(assignGamePad).AsReadOnly(); input.legacy.assignList = new List <int>(assignLegacyGamePad).AsReadOnly(); new CGameComponent(CGame.instance, input.collection, true).UpdateOrder = int.MinValue; initializeSensitivity(); }