Unity-Theme icon indicating copy to clipboard operation
Unity-Theme copied to clipboard

The type or namespace name 'DropdownField' could not be found

Open NimsTail opened this issue 2 years ago • 5 comments

Hi!

Just found your code and wanted to test it out, but right after the installation I am having an issue:

Library\PackageCache\[email protected]\Editor\Scripts\ThemeWindowEditor.cs(19,17): error CS0246: The type or namespace name 'DropdownField' could not be found (are you missing a using directive or an assembly reference?).

Screenshot_1

Thanks in advance!

NimsTail avatar Oct 26 '23 08:10 NimsTail

@NimsTail hi, what is your Unity version?

IvanMurzak avatar Oct 26 '23 23:10 IvanMurzak

Also, make sure that UIElements is installed into your project. image

IvanMurzak avatar Oct 26 '23 23:10 IvanMurzak

Hi Ivan!

My Unity version is 2020.3.19f1. UIElements are already installed in the project.

NimsTail avatar Oct 27 '23 06:10 NimsTail

I made it work by updating the project to the 2023 version.

NimsTail avatar Oct 27 '23 07:10 NimsTail

I made it work by updating the project to the 2023 version.

Alright, That is good. I will double-check the older Unity version. Possibly I will skip the support of it in the package. P.S. sorry for the late reply

IvanMurzak avatar Jun 21 '24 09:06 IvanMurzak