Hi there,
I wanted to use the MustDisposeResourceAttribute in my unity project. I couldn't find a way to import this package in the project, so I copied over the relevant files from here to my project. [MustDisposeResource] does work now, but I had to comment parts of Annotations.cs like CanBeNullAttribute, because it led to ambiguous declarations with the already provided annotations in Unity.
Is there any plan to make these attributes available in Unity by default?
EDIT: Maybe there is a way to import nuget packages in unity projects from Rider, sorry if I missed something obvious.
Hi there,
I wanted to use the
MustDisposeResourceAttributein my unity project. I couldn't find a way to import this package in the project, so I copied over the relevant files from here to my project.[MustDisposeResource]does work now, but I had to comment parts ofAnnotations.cslikeCanBeNullAttribute, because it led to ambiguous declarations with the already provided annotations in Unity.Is there any plan to make these attributes available in Unity by default?
EDIT: Maybe there is a way to import nuget packages in unity projects from Rider, sorry if I missed something obvious.