예제 #1
0
            internal static _GetAssetTagCount GetAssetTagCount()
            {
                if (_GetAssetTagCountFunc == null)
                {
                    _GetAssetTagCountFunc =
                        (_GetAssetTagCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAssetTagsManifest_getAssetTagCount"), typeof(_GetAssetTagCount));
                }

                return(_GetAssetTagCountFunc);
            }
예제 #2
0
            internal static _GetAssetTagCount GetAssetTagCount()
            {
                if (_GetAssetTagCountFunc == null)
                {
                    _GetAssetTagCountFunc =
                        (_GetAssetTagCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAssetTagsManifest_getAssetTagCount"), typeof(_GetAssetTagCount));
                }

                return(_GetAssetTagCountFunc);
            }