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

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

                return(_GetAreaFunc);
            }