/// <summary> /// If necessary, forces the current haptic to play on a specific gamepad /// </summary> public virtual void SetGamepad() { if (ForceGamepadID) { GamepadRumbler.SetCurrentGamepad(GamepadID); } }
public void ReferenceGamepadRumble() { gamepadRumbler = GameObject.FindGameObjectWithTag("InputHandler").GetComponentInChildren <GamepadRumbler>(); }