Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

ApplyBindingOverride(overrideProcessors) crashing Android app

$
0
0
i am trying to change Processor at runtime with this code

Code (CSharp):
  1. private void ApplyDeadzoneLeft(float t)
  2.         {
  3.             var m_Player = playerInput.actions.FindActionMap("Player", throwIfNotFound: true);
  4.             var m_Player_Move = m_Player.FindAction("Move", throwIfNotFound: true);
  5.             m_Player_Move.ApplyBindingOverride(0, new InputBinding { overrideProcessors = $"stickDeadzone(min={t}, max=0.95)" });
  6.         }
this works in Editor, windowsPlayer and ios,...

ApplyBindingOverride(overrideProcessors) crashing Android app

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>