Cities: Skylines

Cities: Skylines

[ARIS] Skylines Overwatch
kelmenwong 2. juli 2015 kl. 2:55
coding issue
hi Soda,

I have been trying to reuse your codings from https://github.com/arislancrescent/CS-SkylinesOverwatch

i noticed your Loader subclassed LoadingExtensionBase, those overriden methods are missing base.On<BaseMethod>().
Which have been causing exception OnLevelLoaded() during game time along with my modding.

My Loader codes initially is based on yours, but throughout all those debugging, I found implementing the interface is best and without causing error:
Loader : ILoadingExtension
I applied this changes to your codes locally and no longer having exception.

have a look at https://github.com/kelmen/CS-SkylinesOverwatch/blob/master/Loader.cs

btw, I think OnCreated is never being invoked. As my tracing codes within this method never shown in debug panel.