
Now InputTranslator has its own interface to provide polymorphism in GameSession class Touch input read only if target platform is android
10 lines
182 B
C#
10 lines
182 B
C#
using System.Collections;
|
|
using UnityEngine;
|
|
|
|
public interface IBinding
|
|
{
|
|
public bool IsPressed();
|
|
public bool IsReleased();
|
|
public bool IsRestricted { get; set; }
|
|
}
|