Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


name

Returns the name of the layer as defined in the TagManager.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public string name { get; }

Remarks

Additional Resources: Tags and Layers.