Version: 2022.2

CloudProjectSettings

class in UnityEditor

切换到手册

描述

使用此类检索关于当前选定的项目和当前已登录的 Unity ID 的信息。

静态变量

coppaComplianceThe current COPPA compliance state.
organizationIdThe Organization ID, formatted in lowercase with no symbols.
organizationKeyThe Organization key used to access the dashboard.
organizationNameThe name of the Organization.
projectBoundReturns true if the project has been bound.
projectIdThe Project ID, or GUID.
projectNameThe name of the project.
userIdThe user ID is derived from the user name without the domain (removing all characters starting with '@'), formatted in lowercase with no symbols.
userNameThe user name is the email used for the user's Unity account.

静态函数

ShowLoginThis method shows the Unity login popup.