SingleUnityLayer

Class in ChivalrousGames.Common

Description

Stores the index of a single Unity layer. Code was copied from this forum answer.

Properties

LayerIndex int ReadOnly
Gets the index value of the Unity layer
Mask int ReadOnly
Gets the mask

Methods

Set
public void Set(int _layerIndex);
Parameters
_layerIndex int The layer index to set
Description

Set the specified _layerIndex.