示例#1
0
            internal static _GetUUID GetUUID()
            {
                if (_GetUUIDFunc == null)
                {
                    _GetUUIDFunc =
                        (_GetUUID)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSimPersistID_getUUID"), typeof(_GetUUID));
                }

                return(_GetUUIDFunc);
            }
示例#2
0
            internal static _GetUUID GetUUID()
            {
                if (_GetUUIDFunc == null)
                {
                    _GetUUIDFunc =
                        (_GetUUID)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSimPersistID_getUUID"), typeof(_GetUUID));
                }

                return(_GetUUIDFunc);
            }