예제 #1
0
 public void PlayerFinishedRecording()
 {
     gameRunning = false;
     Recorder.Recording rr = new Recorder.Recording();
     rr = currentPlayer.GetComponent <Recorder>().GetRecording();
     robotRecordings.Add(rr);
     ghost.Possess();
     Destroy(currentPlayer.gameObject);
     currentPlayer            = null;
     ghost.transform.position = winCam.position;
     StartGlobalPlayback();
 }