Documentation

Unity Engine

Unity Engine

fileName

The default file name used by newly created instances of this type.
Read time 1 minuteLast updated 2 months ago

Definition

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

Remarks

Note that any custom file names must end in '.asset' to be correctly processed by Unity.