Exemplo n.º 1
0
            internal static _OnMouseDragged OnMouseDragged()
            {
                if (_OnMouseDraggedFunc == null)
                {
                    _OnMouseDraggedFunc =
                        (_OnMouseDragged)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiButtonBaseCtrl_onMouseDragged"), typeof(_OnMouseDragged));
                }

                return(_OnMouseDraggedFunc);
            }
Exemplo n.º 2
0
            internal static _OnMouseDragged OnMouseDragged()
            {
                if (_OnMouseDraggedFunc == null)
                {
                    _OnMouseDraggedFunc =
                        (_OnMouseDragged)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiMouseEventCtrl_onMouseDragged"), typeof(_OnMouseDragged));
                }

                return(_OnMouseDraggedFunc);
            }