コード例 #1
0
            internal static _SetArmThread SetArmThread()
            {
                if (_SetArmThreadFunc == null)
                {
                    _SetArmThreadFunc =
                        (_SetArmThread)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_setArmThread"), typeof(_SetArmThread));
                }

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

                return(_SetArmThreadFunc);
            }