PlayBack() private method

private PlayBack ( ) : void
return void
Beispiel #1
0
 // Update is called once per frame
 void Update()
 {
     if (CrossPlatformInputManager.GetButton("Fire1"))
     {
         recording = false; replaySystem.PlayBack();
     }
     else
     {
         recording = true; replaySystem.Record();
     }
     //if(recording){replaySystem.Record();}
 }