Modding:Adding Code at Startup: Difference between revisions

m
no edit summary
(Add AfterGameLoaded hook)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 36: Line 36:
| '''Harmony Injection''' ||
| '''Harmony Injection''' ||
* ''At any time in the code flow''
* ''At any time in the code flow''
|| This is the most flexible method by far, because you can inject your code anywhere in the code flow. However, it is also the most difficult and technical of the options. Most mods do not need this and it is not recommended for modders who are new to C# scripting. For more information about this method, refer to [[Modding:Harmony Injection]].
|| This is the most flexible method by far, because you can inject your code anywhere in the code flow. However, it is also the most difficult and technical of the options. Most mods do not need this and it is not recommended for modders who are new to C# scripting. For more information about this method, refer to [[Modding:Harmony]].
|}
|}


Line 167: Line 167:
{{Modding Navbox}}
{{Modding Navbox}}


[[Category:Modding]][[Category:Guides]]
[[Category:Script Modding]]
2,158

edits