文档

Unity Engine

Unity Engine

GetFilePath()

Get the file path where this ScriptableSingleton is saved to.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.