https://github.com/audunegames/serializable-types
Enables Unity to serialize a reference to a C# type in the editor.
https://github.com/audunegames/serializable-types
serialization types unity
Last synced: about 2 months ago
JSON representation
Enables Unity to serialize a reference to a C# type in the editor.
- Host: GitHub
- URL: https://github.com/audunegames/serializable-types
- Owner: audunegames
- License: lgpl-3.0
- Created: 2024-04-11T15:22:22.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-12-22T14:23:20.000Z (6 months ago)
- Last Synced: 2025-12-24T01:21:54.221Z (6 months ago)
- Topics: serialization, types, unity
- Language: C#
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Audune Serializable Types
[](https://openupm.com/packages/com.audune.utils.types/)
Enables Unity to serialize a reference to a C# type in the editor.
## Features
* A `SerializableType` class to use in place of the C# `Type` class, but with the benefit of the data being serialized in Unity.
* Some type-related extension methods.
## Installation
### Requirements
This package depends on the following packages:
* [Unity IMGUI Editor Utilities](https://openupm.com/packages/com.audune.utils.unityeditor/), version **2.0.7** or higher.
If you're installing the required packages from the [OpenUPM registry](https://openupm.com/), make sure to add a scoped registry with the URL `https://package.openupm.com` and the required scopes before installing the packages.
### Installing from the OpenUPM registry
To install this package as a package from the OpenUPM registry in the Unity Editor, use the following steps:
* In the Unity editor, navigate to **Edit › Project Settings... › Package Manager**.
* Add the following Scoped Registry, or edit the existing OpenUPM entry to include the new Scope:
```
Name: package.openupm.com
URL: https://package.openupm.com
Scope(s): com.audune.utils.types
```
* Navigate to **Window › Package Manager**.
* Click the **+** icon and click **Add package by name...**
* Enter the following name in the corresponding field and click **Add**:
```
com.audune.utils.types
```
### Installing as a Git package
To install this package as a Git package in the Unity Editor, use the following steps:
* In the Unity editor, navigate to **Window › Package Manager**.
* Click the **+** icon and click **Add package from git URL...**
* Enter the following URL in the URL field and click **Add**:
```
https://github.com/audunegames/serializable-types.git
```
## Contributing
Contributions to this package are more than welcome! Contributing can be done by making a pull request with your updated code.
## License
This package is licensed under the GNU LGPL 3.0 license. See `LICENSE.txt` for more information.