void OnDestroy() { if (profileHelperInstance != null) { profileHelperInstance.dipose(); profileHelperInstance = null; } }
void Start() { profileHelperInstance = new MyProfileHelper(gameObject); }
void OnDestroy() { if (profileHelperInstance != null) { profileHelperInstance.dipose(); profileHelperInstance = null; } }
void Start() { profileHelperInstance = new MyProfileHelper(gameObject); }