UNPKG

@senspark/ee

Version:

utility library for cocos creator

14 lines (13 loc) 431 B
/// <reference types="cocos-api" /> export declare class ProfileManager { private static sharedInstance?; static getInstance(): ProfileManager; /** Current profile, used in editor only. */ private profile?; private listener?; private constructor(); setProfile(profile: Profile): void; getProfile(): Profile | undefined; loadData(key: string): any; saveData<T>(key: string, data: T): void; }