Enables Unity to serialize a reference to a C# type in the editor.
- A
SerializableTypeclass to use in place of the C#Typeclass, but with the benefit of the data being serialized in Unity. - Some type-related extension methods.
This package depends on the following packages:
- Unity IMGUI Editor Utilities, version 2.0.7 or higher.
If you're installing the required packages from the OpenUPM registry, make sure to add a scoped registry with the URL https://package.openupm.com and the required scopes before installing the packages.
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
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
Contributions to this package are more than welcome! Contributing can be done by making a pull request with your updated code.
This package is licensed under the GNU LGPL 3.0 license. See LICENSE.txt for more information.