void OnDisable()
 {
     ReplaySystem.UnregisterViewMain(this);
 }