コード例 #1
0
ファイル: afxTSCtrl.cs プロジェクト: lukaspj/T3DSharp-Book
            internal static _PopTargetingMode PopTargetingMode()
            {
                if (_PopTargetingModeFunc == null)
                {
                    _PopTargetingModeFunc =
                        (_PopTargetingMode)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxTSCtrl_popTargetingMode"), typeof(_PopTargetingMode));
                }

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

                return(_PopTargetingModeFunc);
            }