WuhuIslandTesting/Library/PackageCache/com.unity.splines@1.0.1/Samples~/Editor/AnimateCarAlongSplineEditor.cs
2025-01-07 02:06:59 +01:00

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();
}
}