Unity – Detect if Wifi is enabled on Android without plugin

Sometimes you need to check the Wifi connection of the device on mobile for several reasons.

In order to get the permission to get the Wifi state you have to add this permission in the AndroidManifest.xml file:

Then use this code in your c# class:

The WTF Game Experience: private beta test

Hello everyone!

I’m working on a new Flash based game with physic engine and original gameplay.
The game is still under development but you are welcome to playtest the beta version.

To play the game click here and type the password: beta

Post your comments and report bugs with the google form at the bottom of the page.
I hope you will enjoy this “new approach”!

Have fun ! ;).