rabidus-test/Assets/Scripts/FinishController.cs

22 lines
453 B
C#
Raw Normal View History

2023-09-11 15:44:17 +03:00
using Dreamteck.Splines;
2023-09-05 17:38:11 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FinishController : MonoBehaviour
{
2023-09-11 15:44:17 +03:00
private ShipMoveSides _moveSides;
2023-09-05 17:38:11 +03:00
private ShipPathFollower _follower;
private CutsceneLookAt _cutsceneLook;
private void Awake()
{
2023-09-11 15:44:17 +03:00
_moveSides = FindObjectOfType<ShipMoveSides>();
2023-09-05 17:38:11 +03:00
}
public void StartCustcene()
{
2023-09-11 15:44:17 +03:00
_moveSides.ToggleInput(false);
2023-09-05 17:38:11 +03:00
}
}