文档

Unity Engine

Unity Engine

path

The file path of the Scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public string path { get; set; }

Remarks

File path as listed in the Editor Build Profiles Scene list. See EditorBuildSettings.scenes for an example of how to use this class. Additional Resources: EditorBuildSettingsScene.