Documentation

Unity Engine

Unity Engine

GetFilePath()

Get the file path where this ScriptableSingleton is saved to.
Read time 1 minuteLast updated 2 months 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.