📜  Start() Awake() Update() - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:42.660000             🧑  作者: Mango

代码示例1
Start()
{
    //Gets called on the first frame when the script is run
}
Update()
{
    //Gets called everyframe, for example if you wanted to 
    //increase a number every frame the do it here
}
Awake()
{
    //The same as start but can sometimes be more effiecient in some situations
}