WaitForEndOfFrame

Waits until the end of the frame after all cameras and GUI is rendered, just before displaying the frame on screen.

 

  
    
using UnityEngine;
using System.Collections;

public class example : MonoBehaviour
{
public IEnumerator Awake()
{
yield return new WaitForEndOfFrame();
}
}

 

你可能感兴趣的:(frame)