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

CompilationPipeline.GetAssemblyDefinitionFilePathFromScriptPath

Declaration

public static string GetAssemblyDefinitionFilePathFromScriptPath(string sourceFilePath);

Parameters

sourceFilePath Source (script) file path.

Returns

string File path of assembly definition file.

Description

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