меню паузы, механика записок и лифта
This commit is contained in:
1 parent
cbda26dfc0
commit
cdd1055fd8
55 files changed
+3860
-1087
No files matched your search
@@ -1,4 +1,4 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
// Обязательно добавляем библиотеку новой системы ввода
|
||||
using UnityEngine.InputSystem;
|
||||
|
||||
@@ -25,6 +25,7 @@ public class ObjectThrower : MonoBehaviour
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (Time.timeScale == 0f) return;
|
||||
// Защита от ошибок, если клавиатура не подключена
|
||||
if (Keyboard.current == null) return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user