Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom editor isn't compatible with AssetReference from Addressable package #9

Open
bitinn opened this issue Apr 8, 2019 · 3 comments

Comments

@bitinn
Copy link

bitinn commented Apr 8, 2019

    [Serializable]
    public class TiledValueMap : SerializableDictionary<uint, AssetReference> {};

Screen Shot 2019-04-08 at 11 20 19

Admittedly a niche use case, but since Unity Addressable provide its own editor interface for AssetReference field, I am wondering if it's at all possible to make it compatible.

https://docs.unity3d.com/Packages/[email protected]/manual/AddressableAssetsGettingStarted.html#using-the-assetreference-class

@FunkMonkey
Copy link

The same goes for UnityEvent's, which also have their custom interface...

@FunkMonkey
Copy link

In case of UnityEvents there is only the valuePosition.xMin += labelWidth; missing in DrawKeyValueLineExpand

@NamelessPerson
Copy link

Has anyone found a solution to this issue with AssetReferences? Have been trying to debug the editor without much luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants