12 lines
255 B
C#
12 lines
255 B
C#
using Unity.Splines.Examples;
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
[CustomEditor(typeof(AnimateCarAlongSpline))]
|
|
public class AnimateCarAlongSplineEditor : Editor
|
|
{
|
|
void OnEnable()
|
|
{
|
|
((AnimateCarAlongSpline)target).Initialize();
|
|
}
|
|
}
|