ComponentProxies call destroy themselves instead of returning true/false since having a return value does not make sense here.
Added a prefab script for a ground menu panel (Model taken from the Sosig testing panel)
Text components will now automatically be set to have the same font as used in the game
Fix for a editor error when exporting TnH maps; ComponentProxies cannot have methods that use types from the game's assemblies as a return type or as parameters even if the methods are only used in runtime. To mitigate this I had the method return object and just cast it back to the correct type at runtime. (TNH_Holdpoint.cs)
When you build the project, it will now also generate Unity debugging symbols alongside the assembly. (WurstMod.dll.mdb)
This file will provide extra debugging information at runtime (like line numbers) when placed beside the assembly in the plugins folder. This applies to both the Unity Editor and in-game.
GetImportance -> ResolveOrder: I'm not sold on the renaming because "order" implies (to me at least) something like 1, 2, 3 when it actually resolves in reverse order 3, 2, 1. There's no perfect name and I wasn't happy with "importance" anyway so yeah sure let's keep it. Most words describing a sequence seem to end up being ambiguous.
Destroy instead of return: Yeah that's definitely smarter. Target shouldn't destroy, though. I'll just fix that post-merge since it's the only problem I see.
Ground Panel: The more the merrier.
Text components: That's a good fix.
Editor error: I was wondering what was causing that. It wasn't actively preventing export so I left it alone, but that makes sense. Thanks for fixing.
object
and just cast it back to the correct type at runtime. (TNH_Holdpoint.cs
)When you build the project, it will now also generate Unity debugging symbols alongside the assembly. (
WurstMod.dll.mdb
) This file will provide extra debugging information at runtime (like line numbers) when placed beside the assembly in the plugins folder. This applies to both the Unity Editor and in-game.