蓝图集成
Learn how to implement authentication using Unreal Engine Blueprints.
阅读时间8 分钟最后更新于 4 天前
将 Authentication SDK 添加为依赖项
在继续进行以下蓝图演示之前,请确保已成功安装了 Authentication SDK 插件,并且可以在蓝图的事件图中或 Unity Gaming Services(Unity 游戏服务)> Authentication 下的函数中查看与 Authentication 相关的函数。
此蓝图的所有操作。
Sign In Anonymously
使用Sign In Anonymously Sign In AnonymouslyFAuthenticationSignInOptions
Sign in anonymously
Get User Info
使用Get User Info
Get user info
Delete User
使用Delete UserBoolean
Delete user
Register State Changed Callback
使用Register State Changed CallbackAuthorized
Register state changed callback
Sign Out
使用Sign Out
此函数返回一个
Boolean
alt_text
Switch Profile
使用Switch Profile
Switch profile
Profile Exists
使用Profile Exists
此函数返回一个
Boolean
Profile exists
Get Current Profile Name
使用Get Current Profile NameString
Get current profile name
Get Profile Names
使用Get Current Profile NamesString Array
Get profile names
Register Profile Changed Callback
使用Register Profile Changed Callback
Register profile changed callback
Register Profile Deleted Callback
使用Register Profile Changed Callback
Register profile deleted callback
Is Signed In
使用Is Signed InBoolean
Is signed in
Is Anonymous
使用Is AnonymousSign In AnonymouslyBoolean
Is anonymous
Is Authorized
使用Is AuthorizedBoolean
Is authorized
Is Expired
使用Is ExpiredBoolean
Is expired
Session Token Exists
使用Session Token ExistsBoolean
Session tokene exists
Get Unity Project Id
使用Get Unity Project IdGuid
Get Unity project ID
Get Unity Environment Name
使用Get Unity Environment NameString
Get Unity Environment Name
Get Access Token
使用Get Access Token
Get access token
Get Session Token
使用Get Session Token
Get session token
Get User Id
使用Get User Id
此函数返回一个
String
Get user ID
Get State
使用Get StateEnum
Get state
Set Unity Project Id
使用Set Unity Project IdGuid
Set Unity project ID
Set Unity Environment Name
使用Set Unity Environment NameString
Set Unity Environment Name