예제 #1
0
            internal static _GetMoveDestination GetMoveDestination()
            {
                if (_GetMoveDestinationFunc == null)
                {
                    _GetMoveDestinationFunc =
                        (_GetMoveDestination)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAIClient_getMoveDestination"), typeof(_GetMoveDestination));
                }

                return(_GetMoveDestinationFunc);
            }
예제 #2
0
            internal static _GetMoveDestination GetMoveDestination()
            {
                if (_GetMoveDestinationFunc == null)
                {
                    _GetMoveDestinationFunc =
                        (_GetMoveDestination)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAIClient_getMoveDestination"), typeof(_GetMoveDestination));
                }

                return(_GetMoveDestinationFunc);
            }