unity-atoms/Assets/UnityAtoms/Variables/ScriptableObjectVariableBase.cs

17 lines
384 B
C#
Raw Normal View History

2018-10-30 20:05:06 +01:00
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;
}
}