sonejilab / cellexalvr

GNU General Public License v3.0
9 stars 6 forks source link

Some Errors in "1.0.0-preview.18\UI Toolkit Examples\Runtime" error CS0234 & CS0246 #1

Open onlynovice opened 2 years ago

onlynovice commented 2 years ago

I checked out 1a29d79, and opened it with unity 2019.1.8f1. And I got some errors listed below:

Assets\Samples\UI Toolkit\1.0.0-preview.18\UI Toolkit Examples\Runtime\Events\TouchMove.cs(4,44): error CS0234: The type or namespace name 'PointerType' does not exist in the namespace 'UnityEngine.UIElements' (are you missing an assembly reference?) Assets\Samples\UI Toolkit\1.0.0-preview.18\UI Toolkit Examples\Runtime\Events\ClickEventSample.cs(8,30): error CS0246: The type or namespace name 'UIDocument' could not be found (are you missing a using directive or an assembly reference?) Unity_O6SjuXXryS

It seems that something goes wrong with the UI tool kit. How can I solve these errors? Sincerely looking forward to reply!

oscarlegetth commented 1 year ago

Hello!

Apologies for the delayed response. 1a29d79 and any commit after should be opened in Unity 2021.3.0f1. I see how the wording in the readme is a bit confusing, I'll update it to be more clear. You can always see what Unity version any commit was developed with in the ProjectSettings/ProjectVersion.txt file.

Let us know if there are any other issues.