Example #1
0
            internal static _SetMoveSpeed SetMoveSpeed()
            {
                if (_SetMoveSpeedFunc == null)
                {
                    _SetMoveSpeedFunc =
                        (_SetMoveSpeed)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAIClient_setMoveSpeed"), typeof(_SetMoveSpeed));
                }

                return(_SetMoveSpeedFunc);
            }
Example #2
0
            internal static _SetMoveSpeed SetMoveSpeed()
            {
                if (_SetMoveSpeedFunc == null)
                {
                    _SetMoveSpeedFunc =
                        (_SetMoveSpeed)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAIClient_setMoveSpeed"), typeof(_SetMoveSpeed));
                }

                return(_SetMoveSpeedFunc);
            }