Example #1
0
            internal static _SetMoveDestination SetMoveDestination()
            {
                if (_SetMoveDestinationFunc == null)
                {
                    _SetMoveDestinationFunc =
                        (_SetMoveDestination)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAIClient_setMoveDestination"), typeof(_SetMoveDestination));
                }

                return(_SetMoveDestinationFunc);
            }
Example #2
0
            internal static _SetMoveDestination SetMoveDestination()
            {
                if (_SetMoveDestinationFunc == null)
                {
                    _SetMoveDestinationFunc =
                        (_SetMoveDestination)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAIClient_setMoveDestination"), typeof(_SetMoveDestination));
                }

                return(_SetMoveDestinationFunc);
            }