GetAssemblyNameFromScriptPath(string)
Returns the assembly name for a source (script) path. Returns null if there is no assembly name for the given script path.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Compilation
- Assembly: UnityEditor.CoreModule
public static string GetAssemblyNameFromScriptPath(string sourceFilePath)
Parameters
Source (script) path.
Returns
Type | Description |
|---|---|
| string | Assembly name. |