Files
Continentis/Assets/Scripts/SLSUtilities/SerializableDictionary/Wrappers.cs
SoulliesOfficial d09b58fd80 架构大更
2026-03-20 11:56:50 -04:00

18 lines
335 B
C#

using UnityEngine;
namespace SLSFramework.General
{
[System.Serializable]
public class UnityObjectWrapper<T> where T : class
{
[SerializeField] private Object value;
public T Value => value as T;
public UnityObjectWrapper(Object value)
{
this.value = value;
}
}
}