コード例 #1
0
            internal static _ClearIgnoreList ClearIgnoreList()
            {
                if (_ClearIgnoreListFunc == null)
                {
                    _ClearIgnoreListFunc =
                        (_ClearIgnoreList)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAITurretShape_clearIgnoreList"), typeof(_ClearIgnoreList));
                }

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

                return(_ClearIgnoreListFunc);
            }