mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 16:28:25 -05:00
557 B
557 B
Debugging Serialized Data
By adding the [ShowAlchemySerializationData]
attribute along with [AlchemySerialize]
, you can inspect serialized data from the Inspector.
using System;
using System.Collections.Generic;
using UnityEngine;
using Alchemy.Serialization;
[AlchemySerialize]
[ShowAlchemySerializationData]
public partial class AlchemySerializationExample : MonoBehaviour
{
[AlchemySerializeField, NonSerialized]
public Dictionary<string, GameObject> dictionary = new();
}