Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Support "Domain Reload" disabled in a project #480

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FodderMK
Copy link

@FodderMK FodderMK commented Nov 8, 2020

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
Copy link

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

Copy link

@korober korober left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works greate

@brunocapdevila
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants