示例#1
0
            internal static _SetMovementSpeedBias SetMovementSpeedBias()
            {
                if (_SetMovementSpeedBiasFunc == null)
                {
                    _SetMovementSpeedBiasFunc =
                        (_SetMovementSpeedBias)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_setMovementSpeedBias"), typeof(_SetMovementSpeedBias));
                }

                return(_SetMovementSpeedBiasFunc);
            }
示例#2
0
            internal static _SetMovementSpeedBias SetMovementSpeedBias()
            {
                if (_SetMovementSpeedBiasFunc == null)
                {
                    _SetMovementSpeedBiasFunc =
                        (_SetMovementSpeedBias)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_setMovementSpeedBias"), typeof(_SetMovementSpeedBias));
                }

                return(_SetMovementSpeedBiasFunc);
            }