WuhuIslandTesting/Library/PackageCache/com.unity.splines@1.0.1/Samples~/Editor/AnimateCarAlongSplineEditor.cs

13 lines
255 B
C#
Raw Normal View History

2025-01-07 02:06:59 +01:00
using Unity.Splines.Examples;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(AnimateCarAlongSpline))]
public class AnimateCarAlongSplineEditor : Editor
{
void OnEnable()
{
((AnimateCarAlongSpline)target).Initialize();
}
}