How can this asset help me?
The Login with Discord asset is the perfect solution for developers looking to integrate a secure authentication process into their Unity projects. This asset is designed to be easy to use, even for those with little technical knowledge. The setup process is simple and straightforward, and the asset includes detailed documentation to guide you through every step.
Seamless login experience
With this asset, your players can enjoy a seamless login experience without having to create a new account or remember multiple usernames and passwords. This not only makes it easy for players to access your game or app, but it also increases the likelihood of player retention by eliminating the friction of logging in.
Get user information
The asset not only allows players to log into your game using their Discord account, but it also provides you with valuable user information. Once a player has logged in, you can access their Discord username, user ID, avatar and much more. This information can be used to personalize the player's experience, such as showing their username in-game or using their avatar as their in-game character's image.
Check for specific roles
It also allows you to check if the player is a member of a specific Discord server and even gives you the ability to check for specific role ids within that server. This means that you can give different levels of access or perks to different members of your community.
Secret OAuth key not stored in game files
Our asset ensures that the secret OAuth key is never exposed or stored in the game data by using secure communication methods to gain access to the Discord API. This means that even if someone decompiles your game, they would not be able to access the secret OAuth key and therefore your players' sensitive data.
Platform support
Windows (Mono/IL2CPP Builds)
Linux (Mono/IL2CPP Builds)
Mac OS M1 (Mono/IL2CPP Builds)
Mac OS Intel (Mono/IL2CPP Builds)
Android (Currently not supported)
iOS (Currently not supported)
WebGL (Not supported)
Game Consoles (Not supported)
该资产如何帮助我?
对于希望在其 Unity 项目中集成安全身份验证流程的开发人员来说,使用 Discord 登录资产是一个完美的解决方案。该资产的设计易于使用,即使对技术知识知之甚少的人也能轻松上手。设置过程简单明了,该资产包含详细的文档,可指导您完成每个步骤。
无缝登录体验
使用该资产,您的玩家可以享受无缝登录体验,无需创建新账户或记住多个用户名和密码。这不仅能让玩家轻松访问您的游戏或应用程序,还能消除登录过程中的摩擦,从而提高玩家留存率。
获取用户信息
该资产不仅能让玩家使用他们的 Discord 帐户登录您的游戏,还能为您提供宝贵的用户信息。玩家登录后,您可以访问他们的 Discord 用户名、用户 ID、头像等信息。这些信息可用于个性化玩家的游戏体验,例如在游戏中显示他们的用户名或使用他们的头像作为游戏角色的形象。
检查特定角色
您还可以检查玩家是否是特定 Discord 服务器的成员,甚至可以检查该服务器中的特定角色 ID。这意味着您可以为社区中的不同成员提供不同级别的访问权限或福利。
|