// Update is called once per frame void Update() { if (!IsControlPaused() && movementSystem != null) { movementSystem.SetMovementRatio(CrossPlatformInputManager.GetAxis("Vertical")); movementSystem.SetTurnRatio(CrossPlatformInputManager.GetAxis("Horizontal")); } }