unity-domain-reload-helper icon indicating copy to clipboard operation
unity-domain-reload-helper copied to clipboard

A couple of attributes that help disabling Domain Reloading in Unity easier

Results 5 unity-domain-reload-helper issues
Sort by recently updated
recently updated
newest added

TypeCache.GetFieldsWithAttribute is not present before unity 2020. I checked the old commits and found that it previously find members recursively. I suggest you keep both ways and add #if preprocessor...

Hello! Thank you for this project, it's much more handy that the one proposed by Unity! I would like to use it to refresh my Singleton class, but it's a...

enhancement

Includes improvements from [Blowerlop](https://github.com/joshcamas/unity-domain-reload-helper/commits?author=Blowerlop) as well as support for [ClearOnReload] with static events and properties. For example: ``` [ClearOnReload] public static event OnButtonClick; [ClearOnReload] public static float timer { get;...

I think that [ClearOnReload] nulls out a list that was created as part of its declaration. repro: [ClearOnReload] static List thisList = new(); void Update() { Debug.Log(thisList.Count()); } returns nullref

Hi Josh, I've added the ability to create a new type instance for constructors requiring parameters. This is particularly useful when the type doesn't have a constructor without parameters.