I want to access class Universal2DResourceData in my render Feature , but it’s internal.
I don’t know why class UniversalResourceData is designed to be public, but class Universal2DResourceData is designed to be internal.
I want to access class Universal2DResourceData in my render Feature , but it’s internal.
I don’t know why class UniversalResourceData is designed to be public, but class Universal2DResourceData is designed to be internal.
You can always use reflection to make use of internal/private types and methods. But be sure to first research whether this is necessary, often such internal features are accessible through other means.
And sometimes, there is no actual necessity to use the internal type because the problem at hand doesn’t actually demand it. Like cases where devs have their mind set on one particular solution they found by digging into the code, but they didn’t really explore the problem/solution space at a higher level.