Beispiel #1
0
//scene notifications
void menu::sceneWillDisappear( ofxScene * toScreen ){
	// gui1->disable();
	/*  ofRemoveListener(tuioClient.cursorAdded,this,&menu::tuioAdded);
	 ofRemoveListener(tuioClient.cursorRemoved,this,&menu::tuioRemoved);
	 ofRemoveListener(tuioClient.cursorUpdated,this,&menu::tuioUpdated);
	 */
    cheapComm::getInstance()->sendAudio0("/audio/menu/end_event");
    cheapComm::getInstance()->sendSync0("/sync/menu/end_event");
	exit_Escena();
    hands.objectsCol.clear();
    touchElements.notifyTouchUpAll( );
};
Beispiel #2
0
//scene notifications
void faces::sceneWillDisappear( ofxScene * toScreen ){
	exit_Escena();
};