1
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BITKit.Animations
|
||||
{
|
||||
public class ScriptableMotionMatchingObject : ScriptableObject,IObjectElement<string,IMotionMatchingObject>
|
||||
{
|
||||
[SerializeReference,SubclassSelector] private IReference[] tags;
|
||||
[SerializeReference,SubclassSelector] private IMotionMatchingObject value;
|
||||
public bool IsMatch(string[] searchKey)=>MathE.Contains(tags.Cast(),searchKey);
|
||||
public IMotionMatchingObject GetValue() => value;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user