How to get an intro cinematic to play

Hey all,

I’m trying to get an intro cutscene to play, something simple that just flies towards the starting position of the player and then gives control to the player. The intro just plays over and over again. I’m sure its something simple but I can’t seem to figure it out for the life of me. I have this script attached to my cutscene camera

public class CameraFunction : MonoBehaviour {

public GameObject player;

public void TriggerPlayer()
{
	player.SetActive (true);
	this.gameObject.SetActive (false);
}

and I dragged the player into the player function of the camera function script. The cutscene will just play over and over again but won’t give control to the player. Any help would be appreciated, thank you.

I figured it out! By replacing void Start() with void CameraPoint1() and then adding that event to the end of the animation it works just fine. I’m sure there are more efficient methods to do this?