Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


defaultName

Name of the default instance of this brush.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TilemapModule
public string defaultName { get; }

Remarks

In addition to asset instances of brush class, Unity creates a default instance of every brush to be shown in the palette window dropdown. This is the display name of that instance.
If the defaultName is not set, the type name will be used by default.