コード例 #1
0
            internal static _SetActionThread SetActionThread()
            {
                if (_SetActionThreadFunc == null)
                {
                    _SetActionThreadFunc =
                        (_SetActionThread)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_setActionThread"), typeof(_SetActionThread));
                }

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

                return(_SetActionThreadFunc);
            }