Skip to content

Commit

Permalink
chore: apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Raigo Kõvask committed Feb 6, 2024
1 parent 68dde95 commit 1b5d9d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Runtime/AvatarCreator/Scripts/UI/Elements/LogoutElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ namespace ReadyPlayerMe.AvatarCreator
public class LogoutElement : MonoBehaviour
{
private const string TAG = nameof(LoginElement);
[SerializeField] private UnityEvent OnLogoutSuccess;
[SerializeField] private UnityEvent<string> OnLogoutFailed;
public UnityEvent OnLogoutSuccess;
public UnityEvent<string> OnLogoutFailed;
public async void Logout()
{
AuthManager.Logout();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ This element is useful for creating Ready Player Me login UI.
This element is useful for creating Ready Player Me user logging out UI.

**Prefab Location:**
`Runtime/AvatarCreator//Prefabs/LogoutElement.prefab`.
`Runtime/AvatarCreator/Prefabs/LogoutElement.prefab`.

**Key features include:**
- a button, that user can click to log them out
Expand Down

0 comments on commit 1b5d9d9

Please sign in to comment.