Version: 2022.3
Experimental: this API is experimental and might be changed or removed in the future.

LicensingUtility

class in UnityEditor.Experimental.Licensing

切换到手册

描述

Use the Licensing Utility class to request user permissions. User permissions are referred to as entitlements, which are simple strings, ie. "com.unity.editor.ui".

静态函数

HasEntitlement检查当前用户是否获得特定授权。
HasEntitlements检查当前用户是否获得授权列表的授权。
HasEntitlementsExtendedRetrieves extended information about the license file and its contents, including custom data attached to individual entitlements.