Game on Wi-Fi and Bluetooth

How can I carry out the game on Bluetooth or Wi-Fi in Unity3D? A month trying to do it, does not work.

Wifi is just standard networking, you can use sockets if you want to go low level or try UNET or a third party system such as Photon. There are some great bluetooth assets on the asset store.