private var inCutScene: boolean = false;
function OnGUI(){
if (!inCutScene){
// Your GUI goes here
}
}
function BeginCutScene (){
inCutScene = true;
// your cutscene begins here
}
function EndCutScene (){
inCutScene = false;
}
Call BeginCutScene() when you start and EndCutScene() when you are done. No GUI...
EDIT
Or, as was suggested in the comments:
private var inCutScene: boolean = false;
function OnGUI(){
if (inCutScene) return;
// Your GUI code here...
}
function BeginCutScene (){
inCutScene = true;
// your cutscene begins here
}
function EndCutScene (){
inCutScene = false;
}
You can deactivate the GUI on a particular camera in the Inspector. So just click on the camera in your scene that is the cut scene camera - and just deselect the GUI element.