AlexeyTaranov/SerializeReferenceDropdown
(Unity) Editor tool for SerializeReference
📋 Changes
- Added generic SerializeReference type parsing and friendly display.
- Added generic-aware Open Source File selection.
- Added generic support for Modify Direct Type.
- Improved generic type creation, constraints validation, generic base discovery, custom names, and Search Tool display.
📦 Verification
- dotnet build SerializeReferenceDropdownEditor.csproj
📋 Changelog
- Fix RefTo host (663b798)
📋 Changelog
- Fix (c6b3903)
- Fix empty assetPath (30a816a)
- chore: release v1.2.6 (35357e3)
- Show nested types with parent class name (8858657)
- Update README with new sections (e8d2532)
- Update README with new image and remove old link (b27c7f4)
- Manual references for dlls in asmdef (4ec6e29)
- RefTo refactored (2888050)
- + 1 more
📋 Changelog
- Merge remote-tracking branch 'origin/master' into dev (a0fe243)
- YAML Unity Object - check missing types, modify type in yaml for fix missing references (0fa4fc9)
- chore: release v1.2.4 (05550d8)
- Meta for changelog (014fd7e)
- Show modify direct type only on editable assets (7b59bde)
- https://github.com/user-attachments/assets/44cb88c2-f4c3-4ce4-affe-3c979fa74e33
📋 Changelog
- Fix support for Unity 2022 (08bf8bf)
- Dropdown - show namespaces (b145b08)
- RefTo - cache with weak reference (990e580)
📋 Changelog
- Update release.yml (577b443)
- Improve changelog generation in release.yml (ab466bf)
- Merge remote-tracking branch 'origin/master' into dev (ef7e6ce)
- Draft release github action with pull request (7e1f9c0)
- Draft release github action (039d11c)
- Release package github action (f465f8e)
- Dropdown - show namespaces (b145b08)
- RefTo - cache with weak reference (990e580)
- + 2 more
✨ 1.2.0 Search tool - new layout style
- <img width="701" height="536" alt="image" src="https://github.com/user-attachments/assets/f1bb1887-7566-47b9-adf5-8fce36715988" />
📋 Changes
- Search tool (WIP)
- Rider integration (WIP)
https://github.com/user-attachments/assets/333344e2-2ebc-45e0-b3ad-3a6432983cea
📋 Changes
- Better layout: flexible, tooltips with type information (IMGUI, UIToolkit)
- Drag and drop into host field
RefTo - reference to serialize references! <img width="426" alt="image" src="https://github.com/user-attachments/assets/48266d21-009e-46bc-b451-937e3f6f4d37" />
Unity 2023.2 support generics! <img width="678" alt="image" src="https://github.com/AlexeyTaranov/SerializeReferenceDropdown/assets/19202210/76ccbc19-46c4-4c80-9d0c-895151af6b0c"> <details> <summary>Code Example</summary> ```csharp public class TestShapesForSRD : MonoBehaviour { [SerializeReference, SerializeReferenceDropdown] private ISimpleGenericData<int> _intData; } public interface ISimpleGenericData<TData> : IAbstractData { public TData Data { get; } } [Serializable] public class GenericData<TData> : ISimpleGenericData<TData> { [SerializeField] private TData _data; public TData Data => _data; } [Serializable] public class GenericKeyValuePair<TKeyData, TValueData> : ISimpleGenericData<TKeyData>, IAbstractData { [SerializeField] private TKeyData _key; [SerializeField] private TValueData _value; public TKeyData Data => _key; } ``` </details>
⚡ Improved performance: select types with TypeCache
- https://docs.unity3d.com/ScriptReference/TypeCache.html
