16 lines
346 B
C#
16 lines
346 B
C#
|
using Dreamteck.Splines;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class SplineSetter : MonoBehaviour
|
||
|
{
|
||
|
private SplineFollower _follower;
|
||
|
|
||
|
private void Awake()
|
||
|
{
|
||
|
_follower = GetComponent<SplineFollower>();
|
||
|
_follower.spline = GetComponentInParent<SplineComputer>();
|
||
|
}
|
||
|
}
|