Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public static string GetAssemblyNameFromScriptPath(string sourceFilePath)

Parameters

sourceFilePath

Source (script) path.

Returns

Type

Description

stringAssembly name.