C# Class GAudio.PulseModule

Base class for pulse Monobehaviour components,
Inheritance: UnityEngine.MonoBehaviour, IGATPulseSender
ファイルを表示 Open project: gregzo/G-Audio Class Usage Examples

Public Properties

Property Type Description
onWillPulse OnPulseHandler

Protected Properties

Property Type Description
_onPulse OnPulseHandler
_onPulseControl OnPulseHandler
_onStepsDidChange OnStepsDidChangeHandler
_pulseInfo GATPulseInfo

Public Methods

Method Description
PulseOneShot ( int stepIndex ) : void
RegisterPulseController ( IGATPulseController controller ) : bool
SubscribeToPulse ( IGATPulseClient client ) : void

Subscribes to the pulse.

UnregisterPulseController ( IGATPulseController controller ) : void
UnsubscribeToPulse ( IGATPulseClient client ) : void

Unsubscribes to the pulse.

Protected Methods

Method Description
Awake ( ) : void
OnDisable ( ) : void
OnDropDownResume ( double dspDelta ) : void
OnEnable ( ) : void
Pulse ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnDropDownResume() protected abstract method

protected abstract OnDropDownResume ( double dspDelta ) : void
dspDelta double
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

Pulse() protected method

protected Pulse ( ) : void
return void

PulseOneShot() public method

public PulseOneShot ( int stepIndex ) : void
stepIndex int
return void

RegisterPulseController() public method

public RegisterPulseController ( IGATPulseController controller ) : bool
controller IGATPulseController
return bool

SubscribeToPulse() public method

Subscribes to the pulse.
public SubscribeToPulse ( IGATPulseClient client ) : void
client IGATPulseClient
return void

UnregisterPulseController() public method

public UnregisterPulseController ( IGATPulseController controller ) : void
controller IGATPulseController
return void

UnsubscribeToPulse() public method

Unsubscribes to the pulse.
public UnsubscribeToPulse ( IGATPulseClient client ) : void
client IGATPulseClient
return void

Property Details

_onPulse protected_oe property

protected OnPulseHandler _onPulse
return OnPulseHandler

_onPulseControl protected_oe property

protected OnPulseHandler _onPulseControl
return OnPulseHandler

_onStepsDidChange protected_oe property

protected OnStepsDidChangeHandler _onStepsDidChange
return OnStepsDidChangeHandler

_pulseInfo protected_oe property

protected GATPulseInfo _pulseInfo
return GATPulseInfo

onWillPulse public_oe property

Subscribe to this delegate which fires just before onPulse, but after the pulse info has been updated. Also fires on bypassed steps.
public OnPulseHandler onWillPulse
return OnPulseHandler