Skip to content

Commit

Permalink
MobileInput_2
Browse files Browse the repository at this point in the history
MobileInput_2
  • Loading branch information
woojin211 committed Jun 4, 2024
1 parent 5f14a42 commit 04f2122
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Assets/2Scripts/MobileInputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ public class MobileInputManager : MonoBehaviour
{
Vector3 position;

[SerializeField] GameObject left;
[SerializeField] GameObject right;
[SerializeField] GameObject up;
[SerializeField] GameObject down;
[SerializeField] GameObject space;
[SerializeField] GameObject left; // 왼쪽 버튼
[SerializeField] GameObject right; // 오른쪽 버튼
[SerializeField] GameObject up; // 위 버튼
[SerializeField] GameObject down; // 아래 버튼
[SerializeField] GameObject space; // 스페이스 버튼

int fingerId;
bool isTouch;

bool isLeft;
bool isRight;
bool isUp;
bool isDown;

void Start()
{

Expand Down

0 comments on commit 04f2122

Please sign in to comment.