rabidus-test/Assets/Scripts/FinishController.cs

22 lines
453 B
C#

using Dreamteck.Splines;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FinishController : MonoBehaviour
{
private ShipMoveSides _moveSides;
private ShipPathFollower _follower;
private CutsceneLookAt _cutsceneLook;
private void Awake()
{
_moveSides = FindObjectOfType<ShipMoveSides>();
}
public void StartCustcene()
{
_moveSides.ToggleInput(false);
}
}