示例#1
0
            internal static _LoadDependencies LoadDependencies()
            {
                if (_LoadDependenciesFunc == null)
                {
                    _LoadDependenciesFunc =
                        (_LoadDependencies)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnLevelAsset_loadDependencies"), typeof(_LoadDependencies));
                }

                return(_LoadDependenciesFunc);
            }
示例#2
0
            internal static _LoadDependencies LoadDependencies()
            {
                if (_LoadDependenciesFunc == null)
                {
                    _LoadDependenciesFunc =
                        (_LoadDependencies)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnLevelAsset_loadDependencies"), typeof(_LoadDependencies));
                }

                return(_LoadDependenciesFunc);
            }