Esempio n. 1
0
            internal static _OnRightMouseDown OnRightMouseDown()
            {
                if (_OnRightMouseDownFunc == null)
                {
                    _OnRightMouseDownFunc =
                        (_OnRightMouseDown)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiMouseEventCtrl_onRightMouseDown"), typeof(_OnRightMouseDown));
                }

                return(_OnRightMouseDownFunc);
            }
            internal static _OnRightMouseDown OnRightMouseDown()
            {
                if (_OnRightMouseDownFunc == null)
                {
                    _OnRightMouseDownFunc =
                        (_OnRightMouseDown)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiMouseEventCtrl_onRightMouseDown"), typeof(_OnRightMouseDown));
                }

                return(_OnRightMouseDownFunc);
            }