/// <summary>Deletes all of the active user's data.</summary> void IUserDataIO.ClearActiveUserData(UserDataIOCallbacks.ClearActiveUserDataCallback callback) { bool success = this.DeleteDirectory(this.UserDirectory); if (callback != null) { callback.Invoke(success); } }
/// <summary>Deletes all of the active user's data.</summary> public override void ClearActiveUserData(UserDataIOCallbacks.ClearActiveUserDataCallback callback) { base.ClearActiveUserData(callback); if (SystemIOWrapper_Editor.IsPathWithinEditorAssetDatabase(this.userDir) && !Application.isPlaying) { AssetDatabase.Refresh(); } }