Closed linojon closed 6 years ago
That's defined on line 28 of Assets/TiltBrush/Scripts/BrushDescriptor.cs. You probably have a duplicate definition somewhere, perhaps from importing Poly Toolkit. Poly Toolkit and Tilt Brush Toolkit cannot currently coexist in the same Unity project, at least not easily.
It may work if you do something like this:
Assets/PolyToolkit/Internal/tbt/Scripts/BrushDescriptor.cs line 28
XyIsUvZIsDistance,
ZIsDistance = XyIsUvZIsDistance, // <-- add this line
If that works out for you, I can patch TBT so this works a bit better out of the box.
Correct. I was playing with both sdk, separately but in the same project. I have no need for both in the same project and trying them in separate projects worked fine. Thanks.
Receive this error just opening in unity (2017.2.0p2) the toolkit (tiltbrushtoolkit-UnitySDK-v14.0.0.unitypackage)
Assets/TiltBrush/Scripts/Editor/ModelImportSettings.cs(226,46): error CS0117:
TiltBrushToolkit.BrushDescriptor.Semantic' does not contain a definition for
ZIsDistance'