меню паузы, механика записок и лифта
This commit is contained in:
1 parent
cbda26dfc0
commit
cdd1055fd8
55 files changed
+3860
-1087
No files matched your search
@@ -226,10 +226,10 @@ public class EchoTrigger : MonoBehaviour
|
||||
|
||||
void HandleManualEchoPulse()
|
||||
{
|
||||
// Возможность выпустить эхолокационный импульс (Space, E, Q или ПКМ)
|
||||
// Возможность выпустить эхолокационный импульс (Space, Q или ПКМ)
|
||||
var keyboard = Keyboard.current;
|
||||
var mouse = Mouse.current;
|
||||
bool pulseKey = (keyboard != null && (keyboard.spaceKey.wasPressedThisFrame || keyboard.eKey.wasPressedThisFrame || keyboard.qKey.wasPressedThisFrame))
|
||||
bool pulseKey = (keyboard != null && (keyboard.spaceKey.wasPressedThisFrame || keyboard.qKey.wasPressedThisFrame))
|
||||
|| (mouse != null && mouse.rightButton.wasPressedThisFrame);
|
||||
|
||||
if (pulseKey)
|
||||
|
||||
Reference in new issue
Block a user