Skip to content

Change Layer

Game Objects ยป Change Layer

Description

Changes the layer value of a game object

Parameters

Name Description
Layer The layer where the game object belongs to
Children Too Whether to also change the layer of the game object's children or not
Game Object Target game object

Keywords

MonoBehaviour Behaviour Script