using Dreamteck.Splines; using System.Collections; using System.Collections.Generic; using UnityEngine; public class FinishController : MonoBehaviour { private ShipMoveSides _moveSides; private MonumentController _monumentController; private vTimerCounter _vTimerCounter; private void Awake() { _moveSides = FindObjectOfType(); _vTimerCounter = FindObjectOfType(); _monumentController = FindObjectOfType(); } public void StartCustcene() { _vTimerCounter.StopTimer(); _moveSides.ToggleInput(false); _monumentController.UnlockMonument(); } }