Example #1
0
            internal static _PerformClick PerformClick()
            {
                if (_PerformClickFunc == null)
                {
                    _PerformClickFunc =
                        (_PerformClick)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiButtonBaseCtrl_performClick"), typeof(_PerformClick));
                }

                return(_PerformClickFunc);
            }
Example #2
0
            internal static _PerformClick PerformClick()
            {
                if (_PerformClickFunc == null)
                {
                    _PerformClickFunc =
                        (_PerformClick)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiButtonBaseCtrl_performClick"), typeof(_PerformClick));
                }

                return(_PerformClickFunc);
            }