Serializer ScriptableObject
A downloadable tool
Working with ScriptableObjects often requires constantly opening assets just to tweak values. This tool removes that friction — perfect for any data-driven architecture using ScriptableObjects.
📦 Installation — Unity Package Manager
Open Window > Package Manager, click the + button, choose Add package from git URL... and paste:
https://github.com/Alihan-4108/Serializer-ScriptableObject.git
🚀 Usage
Note: Don't forget to add using Alihan4108.SerializeScriptableObject; at the top of your script.
Simply add the [SerializeSO] attribute to your serialized ScriptableObject field.
Basic Example
using UnityEngine;
using Alihan4108.SerializeScriptableObject;
public class Example : MonoBehaviour
{
[SerializeSO]
[SerializeField] private PlayerDataExampleSO itemData;
}
🎨 Customization
The attribute has 3 optional parameters:
[SerializeSO(
label: "",
titleAlignment: TextAnchor.MiddleLeft,
color: "#FFFFFF"
)]
Attribute Parameters
label — Changes the displayed header text. If left empty, no custom header is shown.
label: "Weapon Data"
titleAlignment — Changes the header text alignment. Default: TextAnchor.MiddleLeft.
color — Changes the header text color using HEX format.
color: "#FFAA00" // Orange
🧩 Full Example
using UnityEngine;
using Alihan4108.SerializeScriptableObject;
public class Example : MonoBehaviour
{
//Example 1
[SerializeSO]
[SerializeField] private PlayerData playerData;
//Example 2
[SerializeSO(label: "Enemy Settings", titleAlignment: TextAnchor.MiddleCenter, color: "#FF5555")]
[SerializeField] private EnemyData enemyData;
}
✅ Supported Types
This attribute is primarily designed for ScriptableObject references. It also works with Component references, since the implementation supports Unity object references in general. GameObject and Transform are intentionally excluded to avoid ambiguous usage.
- Primary use case:
ScriptableObject - Optional support:
Component - Not supported:
GameObject,Transform
| Published | 16 hours ago |
| Status | Released |
| Category | Tool |
| Author | Alihan Aydın |
| Genre | Action |
| Tags | Asset Pack, c, Casual, tool, Unity, useful |
| Content | No generative AI was used |
Download
Click download now to get access to the following files:

Leave a comment
Log in with itch.io to leave a comment.