IsEmpty()
Reports whether no density has both layers assigned.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Localization.Android
- Assembly: UnityEngine.LocalizationRuntimeModule
public bool IsEmpty()
Returns
Type | Description |
|---|---|
| bool | True when no density has both layers, otherwise false. |
Remarks
A density is only usable when both its background and its foreground are assigned, so this reports true whenever no density has the pair. Assigning null to either layer replaces it with an empty set rather than leaving it null, so this is always safe to call.