Files
Continentis/Assets/Scripts/ScriptExtensions/SerializableDictionary/Wrappers.cs
SoulliesOfficial 61a397dd4c MOD!
2025-10-23 00:49:44 -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;
}
}
}