Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile issue
#1
Hi there.
I am having the following compile error:
Assets/Packages/DevTools/Editor/PropertyDrawers.cs(673,35): error CS0309: The type `EnumFlagAttribute' must be convertible to `FluffyUnderware.DevTools.DTPropertyAttribute' in order to use it as parameter `T' in the generic type or method `FluffyUnderware.DevToolsEditor.DTPropertyDrawer<T>'

Unity 5.4.0.f3

Thanks.

Importing Curvy into a clean project seems to work. No idea why.
Reply
#2
I had another enumflag attribute defined in another package.
Thanks.
Reply
#3
Yes, that are common issues. Note that all Curvy code is in it's own namespace(s), so either it's the problem of other packages not using namespaces or you can overcome issues with a using-alias statement in case you need to use two identical class names from different namespaces, like:

Code:
using DTEnumFlag = FluffyUnderware.DevTools.EnumFlagAttribute;
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Exporting the mesh issue douoht 5 262 01-09-2019, 09:45 AM
Last Post: _Aka_
  Some strange issue with generator douoht 9 369 01-07-2019, 04:13 PM
Last Post: _Aka_
  Rotation issue on a Parented Spline Controller Karthik7Nike 6 442 12-07-2018, 09:35 AM
Last Post: _Aka_
  Coming back on spline issue lllApOlll 3 1,240 04-03-2018, 04:12 PM
Last Post: _Aka_

Forum Jump: