mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 14:44:17 +00:00
add key shortcut for teleport
This commit is contained in:
parent
f82245f10f
commit
c37482a436
3 changed files with 7 additions and 5 deletions
|
@ -331,9 +331,9 @@ namespace SanAndreasUnity.UI {
|
||||||
}
|
}
|
||||||
|
|
||||||
// teleport to waypoint key shortcut
|
// teleport to waypoint key shortcut
|
||||||
// if (Input.GetKeyDown (KeyCode.T)) {
|
if (Input.GetKeyDown (KeyCode.T)) {
|
||||||
// this.TeleportToWaypoint ();
|
this.TeleportToWaypoint ();
|
||||||
// }
|
}
|
||||||
|
|
||||||
// remember last mouse position
|
// remember last mouse position
|
||||||
m_lastMousePosition = Input.mousePosition;
|
m_lastMousePosition = Input.mousePosition;
|
||||||
|
@ -532,7 +532,7 @@ namespace SanAndreasUnity.UI {
|
||||||
if (GUILayout.Button ("Focus on player [F]", GUILayout.Height(25))) {
|
if (GUILayout.Button ("Focus on player [F]", GUILayout.Height(25))) {
|
||||||
this.FocusOnPlayer ();
|
this.FocusOnPlayer ();
|
||||||
}
|
}
|
||||||
if (GUILayout.Button ("Teleport to waypoint", GUILayout.Height(25))) {
|
if (GUILayout.Button ("Teleport to waypoint [T]", GUILayout.Height(25))) {
|
||||||
this.TeleportToWaypoint ();
|
this.TeleportToWaypoint ();
|
||||||
}
|
}
|
||||||
GUILayout.Space (5);
|
GUILayout.Space (5);
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
|
|
||||||
- vehicle states should handle situation when current vehicle is null (on client)
|
- vehicle states should handle situation when current vehicle is null (on client)
|
||||||
|
|
||||||
|
- play horn sound ?
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
- weapon sound should be 3d
|
- weapon sound should be 3d
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
- Check how much RAM textures use
|
- Check how much RAM textures use
|
||||||
|
|
||||||
- Map window: add shortcut for teleport (key 'T') ; draw vehicles ;
|
- Map window: draw vehicles ;
|
||||||
|
|
||||||
- Script execution order: HUD before pause menu and windows ; fps counter after all ;
|
- Script execution order: HUD before pause menu and windows ; fps counter after all ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue