projectEli/Assets/NeoFPS/Core/MotionGraphs/MotionGraphDataBase.cs
2022-11-06 20:28:33 -05:00

30 lines
657 B
C#

using UnityEngine;
namespace NeoFPS.CharacterMotion
{
public class MotionGraphDataBase : ScriptableObject, IMotionGraphElement
{
[SerializeField] private int m_DataID = -1;
public int dataID
{
get { return m_DataID; }
}
void OnValidate ()
{
if (m_DataID == -1)
m_DataID = GetInstanceID();
}
public void CheckReferences(IMotionGraphMap map) { }
public virtual void AddOverride(IMotionGraphDataOverride over)
{
}
public virtual void RemoveOverride(IMotionGraphDataOverride over)
{
}
}
}