English
Appearance
Component.OnStart()
Component
对象加载完成,第一次执行OnUpdate方法前执行此方法。
void
OnStart(): void { //第一次执行OnUpdate方法前执行此方法 Debug.log("OnStart"); }