Start() means that when the Script is started, it will be executed once when the start is clicked.
Update() means that it will be executed once every frame.
Awake() means that it will be executed even if the Script is not started.
Awake, Start and Update in Unity
Guess you like
Origin blog.csdn.net/qq_43477024/article/details/112974731
Recommended
Ranking