i really need help!!!!!
i imported the project into unity and everything was fine.and then i creat a c# scprit.the code inside is like this.
private Image.PIXEL_FORMAT m_PoxelFormat = Image.PIXEL_FORMAT.GRAYSCALE;
vs are no errors,but the unity told me there was an error:
error CS0426: The type name 'PIXEL_FORMAT' does not exist in the type 'Image'
i did a lot of work for it.i looked through vuforia's official developer documentation and noticed that may have changed with the release.
the unity API reference like this
PixelFormat PixelFormat => Description.PixelFormat
The pixel format of the image
so i changed PIXEL_FORMAT to PixelFormat
the unity still
The type name 'PixelFormat' does not exist in the type 'Image'
then i thought maybe it was a version problem,so i changed the vuforia engine version to 8.3.9.and i used PIXEL_FORMAT and PixelFormat that the problem remains the same.
i downloaded a older version developer documentation that seems to the Vuforia sdk6,i copy the official code,unity still reported
The type name 'PIXEL_FORMAT' does not exist in the type 'Image'
i really want to cry!!!!!!please help me!!