public void Dispose() { ownUserProfile.OnUpdate -= userProfileUpdateDelegate; ownUserProfile.OnAvatarExpressionSet -= OnAvatarExpressionSet; if (view != null) { view.CleanUp(); UnityEngine.Object.Destroy(view.gameObject); } }
public void Dispose() { ownUserProfile.OnUpdate -= userProfileUpdateDelegate; ownUserProfile.OnAvatarExpressionSet -= OnAvatarExpressionSet; view.CleanUp(); }