예제 #1
0
 protected override void GameMenu(GameMenuEvent e)
 {
     Destroy(currentTrack);
     m_Car.GetComponent <Rigidbody>().useGravity  = false;
     m_Car.GetComponent <Rigidbody>().isKinematic = true;
     m_Car.transform.position    = new Vector3(0, 4, 0);
     m_Car.transform.eulerAngles = new Vector3(0, 0, 0);
 }
예제 #2
0
 protected override void GameMenu(GameMenuEvent e)
 {
     ResetCamera();
 }
예제 #3
0
 protected override void GameMenu(GameMenuEvent e) => OpenPanel(m_PanelMainMenu);
 protected virtual void GameMenu(GameMenuEvent e)
 {
 }
예제 #5
0
 protected override void GameMenu(GameMenuEvent e) => Destroy(gameObject);
예제 #6
0
 protected override void GameMenu(GameMenuEvent e)
 {
 }