Ask about Program is interrupted Touch event will ineffective.

Ask about Program is interrupted Touch event will ineffective.

when my games is playing it’s all ok!
maybe have phone or phone get into sleep mode
Or other factors, as long as the phone cancel jumps back to the Home,
and back to the game Touch event will ineffective

I try a little a easy and clean test is the same .

How I should solve this failure problem.10591-521.jpg

Input.GetTouch(0).phase == TouchPhase.Canceled ->you must have this in code. It is used when a phone i dead, goes out of game etc. Because you have an array of Input.touches that you need to handle when you turn back game the touchid must be same.