Unity-Technologies/com.unity.demoteam.hair

API is not easily usable from Assembly-CSharp

qlee01 opened this issue · 2 comments

Due to auto-reference being set to false it is not easy to use the API by code in Assembly-CSharp. Please consider changing this in both asmdef files (Runtime and Editor).

Have you found a way to reference the API through Assembly-CSharp or did you have to make your own assembly definition and include it that way?

I needed to change the source files. As I understand if you write an own assembly definition, you won’t be able to reference this class if you are able to build the integration separately, this is the better way. I don’t understand why Unity always need to be so protective about their stuff.