29 throw new ArgumentException(
"Single layer can only represent exactly one layer. The provided mask represents no layers (mask was zero).");
33 while ((value & 1) == 0) {
39 throw new ArgumentException(
"Single layer can only represent exactly one layer. The provided mask represents more than one layer.");
46 public static implicit
operator int(
SingleLayer singleLayer) {
An object you can use to represent a single Unity layer as a dropdown in the inspector....
bool Equals(SingleLayer other)