Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using UnityEngine;
- namespace UtilityAIExample
- {
- [Serializable]
- public class Factor
- {
- [SerializeField] private string _label;
- [SerializeField] private AnimationCurve _curve;
- public string Label => _label;
- public float Evaluate(float time) =>
- _curve.Evaluate(time);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement