Skip to content

feat: adding player names#41

Merged
pierredalaya merged 6 commits into
mainfrom
feat/player-names
Apr 24, 2023
Merged

feat: adding player names#41
pierredalaya merged 6 commits into
mainfrom
feat/player-names

Conversation

@Scraniel
Copy link
Copy Markdown
Contributor

@Scraniel Scraniel commented Apr 13, 2023

Small change to add player names from the player names service. Does away with IPlayerProfileService.cs and SampleProfileService.cs as names are automatically returned in the requests to the Friends service and one's own name is grabbed from the Auth service now.

Additionally, the ID field has been removed and the "Add Friend" menu now adds by name rather than ID. See below for what the UI looks like in UGUI and UI Toolkit.

UGUI

Local player view

LocalPlayerViewUGUI

Add friend view

AddFriendViewUGUI

UI Toolkit

Local player view

LocalPlayerViewUIToolkit

Add friend view

AddFriendViewUIToolkit

@Scraniel Scraniel requested a review from UnityJacob April 13, 2023 18:36
@UnityJacob UnityJacob requested a review from pierredalaya April 13, 2023 18:49
Comment thread Assets/TextMesh Pro/Resources/Fonts & Materials/inter.asset
Comment thread Packages/manifest.json
"com.unity.2d.sprite": "1.0.0",
"com.unity.ide.rider": "3.0.18",
"com.unity.services.authentication": "2.5.0-pre.3",
"com.unity.services.friends": "0.2.0-preview.9",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the latest public version of the friends SDK?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the minimum value required for player names, so I believe so. I'll double check.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry, I thought you said auth SDK. As far as I know this is the most recent friends package, yes.

Comment thread ProjectSettings/ProjectSettings.asset
Comment thread ProjectSettings/QualitySettings.asset
@pierredalaya
Copy link
Copy Markdown
Contributor

Should this PR also not contain the ability to add friend by name ?

@pierredalaya pierredalaya merged commit 9de4756 into main Apr 24, 2023
@pierredalaya pierredalaya deleted the feat/player-names branch April 24, 2023 13:57
pierredalaya added a commit that referenced this pull request Apr 24, 2023
commit a22b0d1
Author: Pierre Dalaya <pierre.dalaya@unity3d.com>
Date:   Mon Apr 24 10:59:47 2023 -0400

    Squashed commit of the following: release 1.0.1

    commit 703081d
    Author: Pierre Dalaya <pierre.dalaya@unity3d.com>
    Date:   Mon Apr 24 10:59:04 2023 -0400

        changelog + project version

commit d0c0a1a
Author: Pierre Dalaya <pierre.dalaya@unity3d.com>
Date:   Mon Apr 24 10:49:51 2023 -0400

    ugui pass

commit afe9172
Author: Pierre Dalaya <pierre.dalaya@unity3d.com>
Date:   Mon Apr 24 10:06:53 2023 -0400

    ugui tweaks

commit 9de4756
Merge: 9e09bce 9de6109
Author: pierredalaya <112493809+pierredalaya@users.noreply.github.com>
Date:   Mon Apr 24 09:57:19 2023 -0400

    Merge pull request #41 from Unity-Technologies/feat/player-names

    feat: adding player names

commit 9de6109
Author: Pierre Dalaya <pierre.dalaya@unity3d.com>
Date:   Mon Apr 24 09:54:06 2023 -0400

    uigui tweaks

commit eb18bc6
Author: Pierre Dalaya <pierre.dalaya@unity3d.com>
Date:   Mon Apr 24 09:48:44 2023 -0400

    add comment

commit 48a3793
Author: Pierre Dalaya <pierre.dalaya@unity3d.com>
Date:   Mon Apr 24 09:41:30 2023 -0400

    fixed UITk scene

commit b3fbe0d
Author: Danny Lewis <nitomatik@gmail.com>
Date:   Fri Apr 21 13:33:13 2023 -0700

    removing ID fields

commit 132666d
Author: Danny Lewis <nitomatik@gmail.com>
Date:   Tue Apr 18 13:18:22 2023 -0700

    removing asset changes

commit bc4cfc5
Author: Danny Lewis <nitomatik@gmail.com>
Date:   Thu Apr 13 11:34:26 2023 -0700

    adding player names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants