Exemplo n.º 1
0
        protected override void OnAttached(InputRecorder inputRecorder)
        {
            if (inputRecorder.FrameDataRecorder is FrameInputData)
            {
                MouseFrameInputData.RegistTypeToFrameInputData();

                var frameInputData = inputRecorder.FrameDataRecorder as FrameInputData;
                frameInputData.RemoveChildRecorder(MouseFrameInputData.KEY_CHILD_INPUT_DATA_TYPE);

                var inputData = CreateInputData();
                frameInputData.AddChildRecorder(inputData);
            }
        }
 protected abstract void OnAttached(InputRecorder inputRecorder);