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( IMessageReceiver receiver, IDevicesRoot devicesRoot, KeyboardProvider keyboard, TouchPadProvider touchPad) { transform.parent = devicesRoot.Transform; _keyboardParticleParent = keyboard.transform; _mouseParticlePrefabParent = touchPad.transform; var _ = new ParticleControlReceiver(receiver, this); }
public void Initialize(TouchPadProvider provider) { _touchPad = provider; }
public MouseMoveHandIKGenerator(MonoBehaviour coroutineResponder, TouchPadProvider touchPadProvider) : base(coroutineResponder) { _touchPad = touchPadProvider; }