public bool BeginRecording() { if (unit.Recording || !unit.Camera) { return(false); } ApplySettings(); unit.BeginRecording(); AttachHook(); return(true); }
public bool BeginRecording() { if (unit.Recording) { return(false); } Camera camera = GetComponent <Camera>(); if (!camera) { return(false); } ApplySettings(camera); unit.Camera = camera; unit.BeginRecording(); Debug.LogFormat("{0}.BeginRecording()", GetType().Name); return(true); }