Example #1
0
            internal static _GetAssetDependencyFieldCount GetAssetDependencyFieldCount()
            {
                if (_GetAssetDependencyFieldCountFunc == null)
                {
                    _GetAssetDependencyFieldCountFunc =
                        (_GetAssetDependencyFieldCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAssetBase_getAssetDependencyFieldCount"), typeof(_GetAssetDependencyFieldCount));
                }

                return(_GetAssetDependencyFieldCountFunc);
            }
Example #2
0
            internal static _GetAssetDependencyFieldCount GetAssetDependencyFieldCount()
            {
                if (_GetAssetDependencyFieldCountFunc == null)
                {
                    _GetAssetDependencyFieldCountFunc =
                        (_GetAssetDependencyFieldCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAssetBase_getAssetDependencyFieldCount"), typeof(_GetAssetDependencyFieldCount));
                }

                return(_GetAssetDependencyFieldCountFunc);
            }