//HarmonyInstance harmony = HarmonyInstance.Create(GUID); var harmony = new Harmony("com.company.project.product");
ConfigEntry<bool> skip = base.Config.Bind<bool>("Game startup", "Skip showing intro screen", true, "Speed up game startup by skippping the logo shown at the start, before title screen.");
public static ConfigEntry<型> AutoSubAccessories { get; private set; }
base.Config.Bind<型> ?第1引数:カテゴリー?
viveControllers[side] = controllers[side].GetComponent<VRViveController>();↓デバイス?トラッカー?
steamVRDevices[side] = f_device.GetValue(viveControllers[side]) as SteamVR_Controller.Device;↓デバイス関連の取得? フィールドとは、クラスまたは構造体で直接宣言される任意の型の変数?
f_device = typeof(VRViveController).GetField("device", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
GameObject.Find("VRTK/[VRTK_SDKManager]/SDKSetups/SteamVR/VRCameraBase/[CameraRig]/Controller (left)/Model/p_handL/HSceneMainCanvas/MainCanvas").GetComponent<HSprite>()))
// //インスタンスの作成方法をハーモニー2用に修正? // //ハーモニーのパッチをフック関数に当てている? new Harmony(GUID).PatchAll(typeof(Hooks));