Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CompilationPipeline.GetAssemblyNameFromScriptPath

Declaration

public static string GetAssemblyNameFromScriptPath(string sourceFilePath);

Parameters

sourceFilePath Source (script) path.

Returns

string Assembly name.

Description

Returns the assembly name for a source (script) path. Returns null if there is no assembly name for the given script path.