Hello
I want ask, Is possible link PC with android and make input axis from android device to PC game?
I mean something like “play PC game with androids button”. There is already a similar way?
See Unity Remote 4 if you want to get this functionality in the editor.
Unity Remote (currently at version 4), is a downloadable app designed to help with Android or iOS development. The app connects with Unity while you are running your project in Play mode from the editor. The visual output from the editor is sent to the device’s screen and the live inputs are sent back to the running project in Unity. This allows you to get a good impression of how your game really looks and handles on the target device without the nuisance of a full build for each test.
If you want a published PC game to get input from an Android app, you’d better look for a plugin for it (if any exists) or write your own input bridge. You can’t replace the output of UnityEngine.Input as far as I know, so what you would do is change your code to use your own Input library, which can support your Android apps output (possibly sent over wifi/bluetooth - you’d have to look into how to do that?).
You can additionally write your own Input Module for use with Unitys Event System to seamlessly integrate functionality to the new UI and Raycasters.