public void InputEventHandlerUnRegister_GetAxis_MouseXMouseY(DInputManagerGetAxis_MouseXMouseY eventHandler) { if (eventHandler == null || EventGetAxis_MouseXMouseY == null) { return; } EventGetAxis_MouseXMouseY -= eventHandler; }
/// <summary> /// Input.GetAxis("Mouse Y") /// </summary> /// <param name="eventHandler"></param> public void InputEventHandlerRegister_GetAxis_MouseXMouseY(DInputManagerGetAxis_MouseXMouseY eventHandler) { if (eventHandler == null) { return; } if (EventGetAxis_MouseXMouseY == null) { EventGetAxis_MouseXMouseY = new DInputManagerGetAxis_MouseXMouseY(eventHandler); } else { EventGetAxis_MouseXMouseY += eventHandler; } }