10 lines
177 B
C#
10 lines
177 B
C#
using UnityEngine;
|
|
|
|
public static class GlobalInput
|
|
{
|
|
public static bool IsScreenClicked()
|
|
{
|
|
return Input.GetMouseButtonDown(0) || Input.touchCount > 0;
|
|
}
|
|
}
|