typeThe type to look for.
sourceCodeFileThe full filepath.
singleUnitTrue if the type is the only type defined in the file. False if there are other types in the same file.
scopeToTargetAssembliesLook only at target assemblies. If false, scan everything.
editorAssembliesLook in editor assemblies.
playerAssembliesLook in player assemblies.