riversong code showcase
This commit is contained in:
13
Source/Riversong/Game/Input/IPointerService.cs
Normal file
13
Source/Riversong/Game/Input/IPointerService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace DanieleMarotta.RiversongCodeShowcase
|
||||
{
|
||||
public interface IPointerService
|
||||
{
|
||||
bool IsPointerOverUI { get; }
|
||||
|
||||
bool TryGetPositionOnTerrain(out Vector3 position);
|
||||
|
||||
bool TryConsumeLeftClick(int maxClickCount = 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user