Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Underscore

Adds an underscore and a number to the name of an instantiated or duplicated GameObject ("Prefab_1").
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Underscore = 2

Remarks

When a GameObject is duplicated or instantiated, Unity copies the original GameObject's name and adds an underscore and a number to it, for example, "Prefab_1".