UI 자동화를 위해 바인딩 기능 구현
- 유니티 에셋 인증 오류로 meta 재생성
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
public class InputManager
|
||||
{
|
||||
@@ -10,6 +11,11 @@ public class InputManager
|
||||
|
||||
public void OnUpdate()
|
||||
{
|
||||
if (EventSystem.current.IsPointerOverGameObject())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (Input.anyKey && KeytAction != null)
|
||||
{
|
||||
KeytAction.Invoke();
|
||||
|
||||
Reference in New Issue
Block a user