HasEntitlement(string)
Checks if the current user is entitled to a specific entitlement.
阅读时间1 分钟最后更新于 2 小时前
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.Licensing
- Assembly: UnityEditor
public static bool HasEntitlement(string entitlement)
Parameters
The requested entitlement string.
Returns
Type | Description |
|---|---|
| bool | Returns true if the user is entitled to the entitlement string. Returns false otherwise. |