---
title: "FixedUpdate Input System - s&box library"
description: "Utility system for polling input reliably in FixedUpdate"
canonical: "https://sbox.watch/zh-cn/libraries/null/fuib/"
generated_at: "2026-11-27T12:40:25.284Z"
---

# FixedUpdate Input System

Utility system for polling input reliably in FixedUpdate

- 类型: 库
- 标识符: null.fuib
- 创作者: null
- 规范地址: https://sbox.watch/zh-cn/libraries/null/fuib/
- Markdown: https://sbox.watch/zh-cn/libraries/null/fuib/index.md
- sbox.game: https://sbox.game/null/fuib/
- 生成时间: 2026-11-27T12:40:25.284Z

## 统计

- 24小时热度: +0
- Terry 评分: 27%
- 收藏: 1
- 好评: 1
- 差评: 0
- 更新时间: 2024年7月31日
- 创建时间: 2024年7月17日
- 大小: 6.3 KB
- 文件: 7
- 标签: utility, fixedupdate

## 描述

FixedUpdate Input System

A utility System for polling input in an Update loop to use in a FixedUpdate loop without missing inputs in-between FixedUpdate ticks.

How to use it:

namespace Sandbox;

public sealed class ExampleComponent : Component
{
 private FixedUpdateInputSystem \_fixedInput;

 protected override void OnStart()
 {
 // Get a reference to the system.
 \_fixedInput = Scene.GetSystem<FixedUpdateInputSystem>();

 base.OnStart();
 }

 protected override void OnFixedUpdate()
 {
 // Query for input like normal.
 if ( \_fixedInput.Pressed( "jump" ) )
 {
 Log.Info( "Jump" );
 }

 base.OnFixedUpdate();
 }
}
