unity-atoms/Assets/UnityAtoms/Variables/ScriptableObjectVariableBase.cs
2018-10-30 20:05:06 +01:00

17 lines
384 B
C#

using System;
using System.Collections.Generic;
using UnityEngine;
namespace UnityAtoms
{
public abstract class ScriptableObjectVariableBase<T> : ScriptableObject, IWithValue<T>
{
[Multiline]
public string DeveloperDescription = "";
public virtual T Value { get { return value; } set { } }
[SerializeField]
protected T value;
}
}