Unity: Update vs Fixed Update

image from Unity documentations
using UnityEngine;
using System.Collections;
public class Test : MonoBehaviour
{
void FixedUpdate()
{
Debug.Log("FixedUpdate: " + Time.deltaTime);
}
void Update()
{
Debug.log("Update: " + Time.deltaTime);
}
}

--

--

--

Just a student at flatiron

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Multithreading in JAVA

$VLX Pre-Sale is Live!!

How To Learn Your First Programming Language?

How We Go Forward in the Pandemic Is Up to Us

Search timeseries data by date range

My First (Public) Shopify App — Draft Order Attributes

How do CDNs work? | what does CDN stand for?

What is the box model concept?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Fanzhong Zeng

Fanzhong Zeng

Just a student at flatiron

More from Medium

Why Indices and Index Futures Matter?

MOONBEAM IS NOW ON OUR INTEGRATED CHAIN

Introducing Kawaiiverse subnetwork on Oraichain — The first glimpse

Instructions to transfer PLY from Kucoin (ERC20) to Aurora Mainnet