Пример #1
0
            internal static _GetPathId GetPathId()
            {
                if (_GetPathIdFunc == null)
                {
                    _GetPathIdFunc =
                        (_GetPathId)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPath_getPathId"), typeof(_GetPathId));
                }

                return(_GetPathIdFunc);
            }
Пример #2
0
            internal static _GetPathId GetPathId()
            {
                if (_GetPathIdFunc == null)
                {
                    _GetPathIdFunc =
                        (_GetPathId)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPath_getPathId"), typeof(_GetPathId));
                }

                return(_GetPathIdFunc);
            }