• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
U
U
Uncle Bogdan2021-09-04 19:21:03
Unity
Uncle Bogdan, 2021-09-04 19:21:03

Why does GetAxis not work for custom input?

I wanted to make my own Input, but for some reason the value is always zero.

61339cdc9f523069472246.png

The code:

var direction = Input.GetAxisRaw("FlyInput");

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

0 answer(s)
Similar questions
H
Herman Coffman2018-10-31 13:12:26
And also why when I spawn a cube (using a button) it does not move (does not use a script)? 1Reply
M
Moshiwa2020-09-10 17:35:13
Why do particles play on stage but not in game? 1Reply
I
i__egor2022-01-03 09:00:14
How to install the second version of unity on another hard drive through the unity hub? 1Reply
G
greedile2022-01-03 19:06:41
Why is OnApplicationQuit not working on Android? 1Reply
N
NeoLight32020-09-11 19:09:48
How to rotate Quaternion angle towards Vector3 object? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners