LiveSplit / asr

Helper crate to write auto splitters for LiveSplit One's auto splitting runtime.
https://livesplit.org/asr/asr
Apache License 2.0
10 stars 10 forks source link

[Unity] Various improvements #67

Closed Jujstme closed 1 year ago

Jujstme commented 1 year ago

Several improvements were made to the Mono and IL2CPP code that should allow for easier mantainance and less spaghetti code:

    let is_loading = UnityPointer::<5>::new("SceneManager", 1, &["s_sInstance", "m_bProcessing"]);

    ...

    watcher.is_loading.update(is_loading.deref::<bool>(&process, &module, &image).ok());