ドキュメント

Unity Engine

Unity Engine

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

id

The unique id of a layer.

Returns

Type

Description

boolTrue if the
id
provided is valid and assigned to a layer.