GetAssemblyNameFromScriptPath(string)
Returns the assembly name for a source (script) path. Returns null if there is no assembly name for the given script path.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Compilation
- Assembly: UnityEditor
public static string GetAssemblyNameFromScriptPath(string sourceFilePath)
Parameters
Source (script) path.
Returns
Type | Description |
|---|---|
| string | Assembly name. |