mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
17 lines
384 B
C#
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;
|
||
|
}
|
||
|
}
|