예제 #1
0
            internal static _FindTextIndex FindTextIndex()
            {
                if (_FindTextIndexFunc == null)
                {
                    _FindTextIndexFunc =
                        (_FindTextIndex)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTextListCtrl_findTextIndex"), typeof(_FindTextIndex));
                }

                return(_FindTextIndexFunc);
            }
예제 #2
0
            internal static _FindTextIndex FindTextIndex()
            {
                if (_FindTextIndexFunc == null)
                {
                    _FindTextIndexFunc =
                        (_FindTextIndex)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTextListCtrl_findTextIndex"), typeof(_FindTextIndex));
                }

                return(_FindTextIndexFunc);
            }