Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答