projectEli/Assets/NeoFPS/Core/MotionGraphs/MotionGraphCondition.cs

33 lines
700 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NeoFPS.CharacterMotion
{
public class MotionGraphCondition : ScriptableObject, IMotionGraphElement
{
public IMotionController controller
{
get;
private set;
}
public virtual bool CheckCondition(MotionGraphConnectable connectable)
{
return false;
}
public virtual void Initialise (IMotionController c)
{
controller = c;
}
public virtual void CheckReferences(IMotionGraphMap map)
{
}
public virtual void OnValidate ()
{
}
}
}