Exemplo n.º 1
0
            internal static _GetArea GetArea()
            {
                if (_GetAreaFunc == null)
                {
                    _GetAreaFunc =
                        (_GetArea)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnMissionArea_getArea"), typeof(_GetArea));
                }

                return(_GetAreaFunc);
            }
Exemplo n.º 2
0
            internal static _GetArea GetArea()
            {
                if (_GetAreaFunc == null)
                {
                    _GetAreaFunc =
                        (_GetArea)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnMissionArea_getArea"), typeof(_GetArea));
                }

                return(_GetAreaFunc);
            }