Siccity / SerializableCallback

UnityEvent and System.Func had a child
MIT License
359 stars 53 forks source link

Import errors 'TargetConstraintAttribute' could not be found #23

Closed Tymski closed 3 years ago

Tymski commented 3 years ago

Hi I added the link from readme to my manifest. I get 3 errors CS0246 in the Unity console.

Library\PackageCache\com.github.siccity.serializablecallback@63a8c1e919752300252f27ea69762bb35088802d\Editor\SerializableCallbackDrawer.cs(10,30): error CS0246: The type or namespace name 'TargetConstraintAttribute' could not be found (are you missing a using directive or an assembly reference?)

I'm using Unity 2018.4.26f1 LTS

Siccity commented 3 years ago

Make sure the editor assembly references the runtime one. See if that fixes it