C# 클래스 Photon.Voice.PUN.PhotonVoiceView

상속: VoiceComponent
파일 보기 프로젝트 열기: toddkc/PhotonLobby 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AutoCreateRecorderIfNotFound bool
SetupDebugSpeaker bool
UsePrimaryRecorder bool

Private Properties

프로퍼티 타입 설명
CheckLateLinking void
OnEnable void
Setup void
SetupRecorder bool
SetupRecorder bool
SetupRecorderInUse void
SetupSpeaker bool
SetupSpeaker bool
SetupSpeakerInUse void
Start void

공개 메소드들

메소드 설명
Init ( ) : void

Initializes this PhotonVoiceView for Voice usage based on the PhotonView, Recorder and Speaker components.

The initialization should happen automatically. Call this method explicitly if this does not succeed. The initialization is a two steps operation: step one is the setup of Recorder and Speaker to be used. Step two is the late-linking -if needed- of the SpeakerInUse and corresponding remote voice info -if any- via ViewID.

보호된 메소드들

메소드 설명
Awake ( ) : void

비공개 메소드들

메소드 설명
CheckLateLinking ( ) : void
OnEnable ( ) : void
Setup ( ) : void
SetupRecorder ( ) : bool
SetupRecorder ( Recorder recorder ) : bool
SetupRecorderInUse ( ) : void
SetupSpeaker ( ) : bool
SetupSpeaker ( Speaker speaker ) : bool
SetupSpeakerInUse ( ) : void
Start ( ) : void

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

Init() 공개 메소드

Initializes this PhotonVoiceView for Voice usage based on the PhotonView, Recorder and Speaker components.
The initialization should happen automatically. Call this method explicitly if this does not succeed. The initialization is a two steps operation: step one is the setup of Recorder and Speaker to be used. Step two is the late-linking -if needed- of the SpeakerInUse and corresponding remote voice info -if any- via ViewID.
public Init ( ) : void
리턴 void

프로퍼티 상세

AutoCreateRecorderIfNotFound 공개적으로 프로퍼티

If true, a Recorder component will be added to the same GameObject if not found already.
public bool AutoCreateRecorderIfNotFound
리턴 bool

SetupDebugSpeaker 공개적으로 프로퍼티

If true, a Speaker component will be setup to be used for the DebugEcho mode
public bool SetupDebugSpeaker
리턴 bool

UsePrimaryRecorder 공개적으로 프로퍼티

If true, PhotonVoiceNetwork.PrimaryRecorder will be used by this PhotonVoiceView
public bool UsePrimaryRecorder
리턴 bool