UNPKG

@fengxi/ui-framework

Version:

Cocos Creator UI框架库 类似鸿蒙的UI框架

13 lines (12 loc) 319 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SingletonMixin = void 0; class SingletonMixin { static getInstance() { if (!this.instance) { this.instance = new this(); } return this.instance; } } exports.SingletonMixin = SingletonMixin;