public void Initialize( IMessageReceiver receiver, KeyboardProvider keyboard, TouchPadProvider touchPad, MidiControllerProvider midiController, ParticleStore particleStore ) { _keyboard = keyboard; _touchPad = touchPad; _midiController = midiController; _particleStore = particleStore; _keyboardVisibility = keyboard.GetComponent <KeyboardVisibility>(); _touchPadVisibility = touchPad.GetComponent <TouchpadVisibility>(); _midiControllerVisibility = midiController.GetComponent <MidiControllerVisibility>(); receiver.AssignCommandHandler( VmmCommands.HidVisibility, message => SetHidVisibility(message.ToBoolean()) ); receiver.AssignCommandHandler( VmmCommands.MidiControllerVisibility, message => SetMidiVisibility(message.ToBoolean()) ); }
public void Initialize(MidiControllerProvider provider) { _provider = provider; }
public MidiHandIkGenerator(MonoBehaviour coroutineResponder, MidiControllerProvider provider) : base(coroutineResponder) { _provider = provider; }