Files
Max-Cocos-Demo/assets/games/scripts/pets/GlassesPart.ts
2025-11-26 22:57:07 +08:00

10 lines
258 B
TypeScript

import { BasePart } from "./BasePart";
export class GlassesPart extends BasePart {
protected setSocketZIndex(): void {
if (this.socketNode) {
this.socketNode.setSiblingIndex(this.socketNode.parent.children.length);
}
}
}