Пример #1
0
            internal static _SetMove SetMove()
            {
                if (_SetMoveFunc == null)
                {
                    _SetMoveFunc =
                        (_SetMove)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAIConnection_setMove"), typeof(_SetMove));
                }

                return(_SetMoveFunc);
            }
Пример #2
0
            internal static _SetMove SetMove()
            {
                if (_SetMoveFunc == null)
                {
                    _SetMoveFunc =
                        (_SetMove)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAIConnection_setMove"), typeof(_SetMove));
                }

                return(_SetMoveFunc);
            }