示例#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)
 {
 }