1
This commit is contained in:
16
Unity/Scripts/PathProvider/PathProvider.cs
Normal file
16
Unity/Scripts/PathProvider/PathProvider.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
namespace BITKit
|
||||
{
|
||||
public interface IPathProvider
|
||||
{
|
||||
bool IsValid(ref Vector3 startPos);
|
||||
Vector3 Evaluate(float ex);
|
||||
}
|
||||
public abstract class PathProvider : MonoBehaviour, IPathProvider
|
||||
{
|
||||
public abstract bool IsValid(ref Vector3 startPos);
|
||||
public abstract Vector3 Evaluate(float time);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user