기술 자료

Unity Engine

Unity Engine

PlayOnDualShock4(int)

Enable playing of audio source though a specfic DUALSHOCK™4 controller.
읽는 시간 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.