rabidus-test/Assets/Scripts/FinishController.cs

22 lines
469 B
C#

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