Editar

Compartir a través de


MixedRealityToolkitFiles.GetModuleFromPackageFolder(String) Method

Definition

Finds the module type, if found, from the specified package folder name.

public:
 static Microsoft::MixedReality::Toolkit::Utilities::Editor::MixedRealityToolkitModuleType GetModuleFromPackageFolder(System::String ^ packageFolder);
public static Microsoft.MixedReality.Toolkit.Utilities.Editor.MixedRealityToolkitModuleType GetModuleFromPackageFolder (string packageFolder);
static member GetModuleFromPackageFolder : string -> Microsoft.MixedReality.Toolkit.Utilities.Editor.MixedRealityToolkitModuleType
Public Shared Function GetModuleFromPackageFolder (packageFolder As String) As MixedRealityToolkitModuleType

Parameters

packageFolder
String

The asset folder name (ex: MixedRealityToolkit.Providers)

Returns

MixedRealityToolkitModuleType associated with the package folder name. Returns MixedRealityToolkitModuleType.None if an appropriate module type could not be found.

Applies to