IvanMurzak / Unity-Theme

Create palettes of colors and components for change specific color on a specific visual element. Very useful to UI.
MIT License
90 stars 6 forks source link

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

Open NimsTail opened 8 months ago

NimsTail commented 8 months ago

Hi!

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

Library\PackageCache\extensions.unity.theme@2.0.2\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!

IvanMurzak commented 8 months ago

@NimsTail hi, what is your Unity version?

IvanMurzak commented 8 months ago

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

image
NimsTail commented 8 months ago

Hi Ivan!

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

NimsTail commented 8 months ago

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

IvanMurzak commented 2 weeks ago

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