Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ getGear
Method
getGear
packages/fairygui/src/core/GObject.ts:678–680 ·
view source on GitHub ↗
(index: number)
Source
from the content-addressed store, hash-verified
676
// Gear | 齿轮
677
678
public getGear(index: number): GearBase | null {
679
return
this._gears[index] || null;
680
}
681
682
protected updateGear(index: number): void {
683
if
(this._underConstruct || this._gearLocked)
return
;
Callers
1
setup_afterAdd
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected