Most of the features could be usefull for modding.
1: Some or most games made in Unity uses terrains, the problem is terrains doesn't have triangle meshes and SM64 collision's system only works with that, probably it needs some kind of triangle mesh generator for that.
2: Some Unity games uses HDRP and URP instead the build in one for shader, I think the shader included in the example need to be ported to both pipelines.
3: I know libsm64 now has audio support, but instead using the sm64_audio_tick function, probanly it could be better if you extract a sounds using some kind of decoder, Meltyplayer made an script for that, https://github.com/MeltyPlayer/libsm64-sharp/blob/main/Demo%20Project/src/audio/AifcAudioDecoder.cs, it could be usefull for example if you want to play the sounds from SM64 engine in Unity side with custom effects, for example imagine if Mario is in a cave level with a custom reverb effect.
4: Ckosmic made a fork that adds meshes for box colliders and some bug fixing, you could take a look there if you want: https://github.com/ckosmic/libsm64-unity/tree/changes.
Sorry if this is too much, but I hope it could be usefull.
Most of the features could be usefull for modding.
1: Some or most games made in Unity uses terrains, the problem is terrains doesn't have triangle meshes and SM64 collision's system only works with that, probably it needs some kind of triangle mesh generator for that.
2: Some Unity games uses HDRP and URP instead the build in one for shader, I think the shader included in the example need to be ported to both pipelines.
3: I know libsm64 now has audio support, but instead using the sm64_audio_tick function, probanly it could be better if you extract a sounds using some kind of decoder, Meltyplayer made an script for that, https://github.com/MeltyPlayer/libsm64-sharp/blob/main/Demo%20Project/src/audio/AifcAudioDecoder.cs, it could be usefull for example if you want to play the sounds from SM64 engine in Unity side with custom effects, for example imagine if Mario is in a cave level with a custom reverb effect.
4: Ckosmic made a fork that adds meshes for box colliders and some bug fixing, you could take a look there if you want: https://github.com/ckosmic/libsm64-unity/tree/changes.
Sorry if this is too much, but I hope it could be usefull.