Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetFilePath()

Get the file path where this ScriptableSingleton is saved to.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
protected static string GetFilePath()

Returns

Type

Description

stringThe file path where this ScriptableSingleton is saved to.

Remarks

If you call this function and your class has no FilePathAttribute, then an empty string is returned.