Beispiel #1
0
            internal static _RemoveObjectFromFile RemoveObjectFromFile()
            {
                if (_RemoveObjectFromFileFunc == null)
                {
                    _RemoveObjectFromFileFunc =
                        (_RemoveObjectFromFile)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPersistenceManager_removeObjectFromFile"), typeof(_RemoveObjectFromFile));
                }

                return(_RemoveObjectFromFileFunc);
            }
            internal static _RemoveObjectFromFile RemoveObjectFromFile()
            {
                if (_RemoveObjectFromFileFunc == null)
                {
                    _RemoveObjectFromFileFunc =
                        (_RemoveObjectFromFile)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPersistenceManager_removeObjectFromFile"), typeof(_RemoveObjectFromFile));
                }

                return(_RemoveObjectFromFileFunc);
            }