示例#1
0
            internal static _SetTextID SetTextID()
            {
                if (_SetTextIDFunc == null)
                {
                    _SetTextIDFunc =
                        (_SetTextID)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiButtonBaseCtrl_setTextID"), typeof(_SetTextID));
                }

                return(_SetTextIDFunc);
            }
示例#2
0
            internal static _SetTextID SetTextID()
            {
                if (_SetTextIDFunc == null)
                {
                    _SetTextIDFunc =
                        (_SetTextID)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTextCtrl_setTextID"), typeof(_SetTextID));
                }

                return(_SetTextIDFunc);
            }