IsValid(int)
Returns true if the id provided is a valid layer id.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool IsValid(int id)
Parameters
The unique id of a layer.
Returns
Type | Description |
|---|---|
| bool | True if the |