差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
|
appendix:harmonyがある時 [2024/12/29 00:29] fumble |
appendix:harmonyがある時 [2024/12/29 00:31] (現在) fumble |
||
|---|---|---|---|
| 行 66: | 行 66: | ||
| 渡すときはHarmonyMethod(MethodInfo method)の変換、つまりコンストラクターを呼んで変換させる。 | 渡すときはHarmonyMethod(MethodInfo method)の変換、つまりコンストラクターを呼んで変換させる。 | ||
| <code csharp> | <code csharp> | ||
| - | var transpiler | + | var transpilermethod |
| - | Activator.CreateInstance(typeHarmonyMethod, | + | var transpiler = Activator.CreateInstance(typeHarmonyMethod, |
| </ | </ | ||