Detecting If android has an incoming call

Hi I was just wondering if it is possible to detect when android phone receives an incoming call using c# thanks

If the purpose of this detection is to pause the game, you can use the Android Player Setting ā€œrunInBackground = falseā€.

You can set this in C# or in the editor player settings for android.

You can react to the pausing by using this:

But to my knowledge there is no way to explicitly know when a phone call is happening.

1 Like

ok thanks for the reply