예제 #1
0
            internal static _OnReturn OnReturn()
            {
                if (_OnReturnFunc == null)
                {
                    _OnReturnFunc =
                        (_OnReturn)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiTextEditCtrl_onReturn"), typeof(_OnReturn));
                }

                return(_OnReturnFunc);
            }
예제 #2
0
            internal static _OnReturn OnReturn()
            {
                if (_OnReturnFunc == null)
                {
                    _OnReturnFunc =
                        (_OnReturn)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiTextEditCtrl_onReturn"), typeof(_OnReturn));
                }

                return(_OnReturnFunc);
            }