예제 #1
0
            internal static _GetZoneId GetZoneId()
            {
                if (_GetZoneIdFunc == null)
                {
                    _GetZoneIdFunc =
                        (_GetZoneId)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnZone_getZoneId"), typeof(_GetZoneId));
                }

                return(_GetZoneIdFunc);
            }
예제 #2
0
파일: Zone.cs 프로젝트: lukaspj/T3DSharp
            internal static _GetZoneId GetZoneId()
            {
                if (_GetZoneIdFunc == null)
                {
                    _GetZoneIdFunc =
                        (_GetZoneId)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnZone_getZoneId"), typeof(_GetZoneId));
                }

                return(_GetZoneIdFunc);
            }