Serially
Provides extension classes to extend Unity's serialization capabilities. - Serialize Type references - Inject instances into [SerializeReference] fields
com.careboo.serially 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/serially.git README Markdown
Copy this to your project's README.md
## Installation
Add **Serially** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/serially.git
```
[](https://www.pkglnk.dev/pkg/serially)README
Serially
Extends the Unity Editor with type picking functionalities.
Usage
ShowSerializeReferenceAttribute

Use the ShowSerializeReferenceAttribute on a serializable field with SerializeReference to add a type picker inspector to that field.
using UnityEngine;
using CareBoo.Serially;
public class MyBehavior : MonoBehaviour
{
[SerializeReference, ShowSerializeReference]
public IPet myPet;
}
SerializableType

Serialize any type with SerializableType class.
using UnityEngine;
using CareBoo.Serially;
public class MyBehaviour : MonoBehaviour
{
public SerializableType myType;
private void Start()
{
Debug.Log("Serialized type is " + myType.Type.FullName);
}
}
Installation
Scoped Registries
| Registry | URL |
|---|---|
| NPM | https://registry.npmjs.org/ |
| OpenUPM | https://package.openupm.com |
This project can be installed as a UPM package on OpenUPM or npmjs by adding those as scoped registries. See the Unity manual for more information on Scoped Registries.
Local Packages
Alternatively, you can install this directly as either a tarball or unity asset package from the latest release.
Documentation
Documentation is hosted here on GitHub pages.
No comments yet. Be the first!