internal static _AddDependency AddDependency()
            {
                if (_AddDependencyFunc == null)
                {
                    _AddDependencyFunc =
                        (_AddDependency)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnModuleDefinition_addDependency"), typeof(_AddDependency));
                }

                return(_AddDependencyFunc);
            }
Beispiel #2
0
            internal static _AddDependency AddDependency()
            {
                if (_AddDependencyFunc == null)
                {
                    _AddDependencyFunc =
                        (_AddDependency)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnModuleDefinition_addDependency"), typeof(_AddDependency));
                }

                return(_AddDependencyFunc);
            }