Hello, and sorry for posting in such an old thread.
I have been following this thread as a kind of tutorial. (Very helpful, thank you.) But I have encountered a problem when attempting to use dnSpy.
I have used AssetRipper to decompile v0.11b (I am aware that modded units are disabled in this version, my only goal is to add a custom attack to existing characters.)
When using dnSpy to edit the code of my instillation (still v0.11v) and inserting my modified code in AttackList.cs I encounter several errors when attempting to recompile. (Variations of: Error CS1525, Error CS0119, & Error CS0659)
I have verified that my modified code is not the issue by attempting to recompile an unmodified version of AttackList.cs which encountered all of the same errors. As far as I can tell all of the errors relate to UnityAction which only appears in dnSpy and not the actual CS code.
I’m not sure if it’s because changes have been made since this thread was active or if I’m just using dnSpy wrong. Any help would be appreciated.