UnityNativeGallery
UnityNativeGallery copied to clipboard
Cannot declare a variable of static type 'NativeGallery'
I import this package,but the Editor say Cannot declare a variable of static type 'NativeGallery'. I cannot use NativeGallery In my project.
It's my fault. I'll be fine when I set API to 4.x.
NativeGallery doesn't require API 4.x though. You may have used NativeGallery in a wrong way (please see example code), there may be another class called NativeGallery in your project or you might've needed to click Edit-Preferences-External Tools-Regenerate project files.