ドキュメント

Unity Engine

Unity Engine

PlayOnDualShock4(int)

Enable playing of audio source though a specfic DUALSHOCK™4 controller.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
注意
Deprecated. Use PlayOnGamepad instead
public bool PlayOnDualShock4(int userId)

Parameters

userId

UserId of the DUALSHOCK™4 controller to play the audio source through.

Returns

Type

Description

boolReturns TRUE if enabling audio output through this users controller was successful.