neuecc / UniRx

Reactive Extensions for Unity
MIT License
7.01k stars 895 forks source link

Support "Domain Reload" disabled in a project #480

Open FodderMK opened 3 years ago

FodderMK commented 3 years ago

Some statics maintain their values when "Domain Reload" is disabled in a project. This pull request helps clean stale values when the game is started in editor.

c3-hoge-fuga-piyo commented 3 years ago

FYI: https://docs.unity3d.com/ScriptReference/InitializeOnEnterPlayModeAttribute.html

brunocapdevila commented 2 years ago

Seems ok to me! This is the only thing that currently prevents our team to deactivate Domain Reloading in our projects