现在的位置: 首页 > 综合 > 正文

WaitForEndOfFrame

2012年12月29日 ⁄ 综合 ⁄ 共 232字 ⁄ 字号 评论关闭

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();
}
}

 

抱歉!评论已关闭.