Command or script to turn off camera on a scene

For anyone who is as much of a noob at c# as I am, it’s simply:

using UnityEngine;
using UnityEngine.Events;
using nuitrack;

public class NuitrackManagerUnload : MonoBehaviour
{
void Start()
{
nuitrack.Nuitrack.Release();
}
}

and attach it to a gameobject in the scene you want the camera to turn off.

1 Like