Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ onStart
Method
onStart
packages/core/src/ECS/Scene.ts:430–430 ·
view source on GitHub ↗
* 场景开始运行时的回调 * * 在场景开始运行时调用,可以在此方法中执行场景启动逻辑。
()
Source
from the content-addressed store, hash-verified
428
* 在场景开始运行时调用,可以在此方法中执行场景启动逻辑。
429
*/
430
public onStart(): void {}
431
432
/**
433
* 场景卸载时的回调
Callers
1
begin
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected