WaitForEndOfFrame
时间:2010-10-13 来源:KidReborn
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();
}
}
相关阅读 更多 +