mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 08:38:23 -05:00
27 lines
649 B
C#
27 lines
649 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace UnityAtoms
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// None generic base class for `AtomReference<T, C, V, E1, E2, F, VI>`.
|
||
|
/// </summary>
|
||
|
public abstract class AtomReferenceBase
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Enum for how to use the Reference.
|
||
|
/// </summary>
|
||
|
public enum Usage
|
||
|
{
|
||
|
Value = 0,
|
||
|
Constant = 1,
|
||
|
Variable = 2,
|
||
|
VariableInstancer = 3,
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// Descries how we use the Reference and where the value comes from.
|
||
|
/// </summary>
|
||
|
[SerializeField]
|
||
|
protected Usage _usage;
|
||
|
}
|
||
|
}
|