22 lines
486 B
C#
22 lines
486 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class FinishController : MonoBehaviour
|
|
{
|
|
private ShipPathFollower _follower;
|
|
private CutsceneLookAt _cutsceneLook;
|
|
|
|
private void Awake()
|
|
{
|
|
_follower = FindObjectOfType<ShipPathFollower>();
|
|
_cutsceneLook = FindObjectOfType<CutsceneLookAt>();
|
|
}
|
|
|
|
public void StartCustcene()
|
|
{
|
|
_follower.CutsceneMovement();
|
|
_cutsceneLook.StartLook();
|
|
}
|
|
}
|