Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CompilationPipeline.GetAssemblyNameFromScriptPath

public static string GetAssemblyNameFromScriptPath(string sourceFilePath);

Parameters

sourceFilePathSource (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.

Did you find this page useful? Please give it a rating: