Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

WaitForFixedUpdate

class in UnityEngine

/

Hereda de:YieldInstruction

Cambiar al Manual

Descripción

Waits until next fixed frame rate update function. See Also: FixedUpdate.

WaitForFixedUpdate can only be used with a yield statement in coroutines.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { IEnumerator Example() { yield return new WaitForFixedUpdate(); } }

Miembros heredados