コード例 #1
0
            internal static _GetTagCount GetTagCount()
            {
                if (_GetTagCountFunc == null)
                {
                    _GetTagCountFunc =
                        (_GetTagCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAssetTagsManifest_getTagCount"), typeof(_GetTagCount));
                }

                return(_GetTagCountFunc);
            }
コード例 #2
0
ファイル: AssetTagsManifest.cs プロジェクト: lukaspj/T3DSharp
            internal static _GetTagCount GetTagCount()
            {
                if (_GetTagCountFunc == null)
                {
                    _GetTagCountFunc =
                        (_GetTagCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAssetTagsManifest_getTagCount"), typeof(_GetTagCount));
                }

                return(_GetTagCountFunc);
            }