FGTouchInputProvider.cs
UpdateFingerTouchMap 函数替换成如下
void UpdateFingerTouchMap()
{
for( int i = 0; i < finger2touchMap.Length; ++i )
finger2touchMap[i] = -1;
if (Input.touchCount != Input.touches.Length)
{
string e = string.Format("Input.touchCount != Input.touches.Length");
throw new System.Exception(e);
}
// Android: work around strange Touch.fingerId values after resuming application.
// Not sure yet if this is a Unity bug or OS/Hardware issue with some android devices
// e.g. the first touch on the screen can return a fingerId greater than 0 (4, 5... even 32 has been seen!)
// NOTE: this bug should be fixed in Unity 4.1+
#if UNITY_ANDROID
if ( fixAndroidTouchIdBug )
{
if (Input.touchCount > 0 && Input.touches.Length <= 0)
{
string e = string.Format("Input.touchCount > 0 && Input.touches.Length <= 0