private void Update() { // read inputs h = CrossPlatformInputManager.GetAxisRaw("Horizontal"); v = CrossPlatformInputManager.GetAxisRaw("Vertical"); if (CrossPlatformInputManager.GetButtonDown("Push")) { push.Apply(); } if (CrossPlatformInputManager.GetButtonDown("Fire1")) { grab.Apply(); } }