Question by
UDL · Jan 22, 2017 at 08:28 AM ·
networkinginputmobile
Unity3D Using android device for computer input
I'm trying to make a game for the GGJ2017 about a samurai that cuts incoming waves with his katana. It is a computer game, and I hope to use an android device as the input system using the Unity Networking System. I've tried simple communication between the computer and the device ( server and client respectively ) but it doesn't seem to work.
[Command]
void CmdAction()
{
if(!islocalplayer) return;
Debug.Log("Recieved");
}
Comment