---
title: "Update と FixedUpdate 関数"
content_type: tutorial
url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu?language=ja"
language: ja
difficulty: beginner
duration_minutes: 5
unity_version:
  - "2019.3"
  - "2019.2"
  - "2019.1"
  - "2018.4"
  - "2018.3"
  - "2018.2"
  - "2018.1"
  - "2017.4"
  - "2017.3"
  - "2017.2"
  - "2017.1"
  - "5.x"
  - "4.x"
supported_unity_versions:
  - name: "2019.3"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2019.1"
  - name: "2018.4"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2018.4"
  - name: "2018.3"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2018.3"
  - name: "2018.2"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2018.2"
  - name: "2018.1"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2018.1"
  - name: "2017.4"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2017.4"
  - name: "2017.3"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2017.3"
  - name: "2017.2"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2017.2"
  - name: "2017.1"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=2017.1"
  - name: "5.x"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=5.x"
  - name: "4.x"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja&version=4.x"
available_languages:
  - name: "en"
    url: "https://learn.unity.com/tutorial/update-and-fixedupdate.md?language=en"
  - name: "es"
    url: "https://learn.unity.com/tutorial/update-y-fixedupdate.md?language=es"
  - name: "ja"
    url: "https://learn.unity.com/tutorial/update-to-fixedupdate-guan-shu.md?language=ja"
  - name: "ko"
    url: "https://learn.unity.com/tutorial/update-mic-fixedupdate.md?language=ko"
  - name: "zh-cn"
    url: "https://learn.unity.com/tutorial/update-he-fixedupdate.md?language=zh-cn"
last_updated: "2026-08-04T14:24:49.000Z"
---

# Update と FixedUpdate 関数

Update と FixedUpdate が各フレームでどのように動作するかを学び、スクリプトでの時間経過の処理に活用します。

Update 関数と FixedUpdate 関数のフレームごとの変更方法とその違いについて学びます。

本チュートリアルは [Beginner Scripting プロジェクト](https://learn.unity.com/project/beginner-gameplay-scripting)に含まれています。

前のチュートリアルは：[Awake and Start](https://learn.unity.com/tutorial/update-and-fixedupdate?projectId=5c8920b4edbc2a113b6bc26a)

次のチュートリアルは：[Vector Maths](https://learn.unity.com/tutorial/vector-maths?projectId=5c8920b4edbc2a113b6bc26a)

## 1. Update と FixedUpdate 関数

[Video](http://www.youtube.com/watch?v=u42aWzAIAqg)

```csharp
using UnityEngine;
using System.Collections;

public class UpdateAndFixedUpdate : MonoBehaviour
{
    void FixedUpdate ()
    {
        Debug.Log("FixedUpdate time :" + Time.deltaTime);
    }
    
    
    void Update ()
    {
        Debug.Log("Update time :" + Time.deltaTime);
    }
}
```
