Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


fileName

The default file name used by newly created instances of this type.
Read time 1 minuteLast updated 4 days 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.