Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

AdaptivePerformancePackageMetadataStore.AssignLoader

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static bool AssignLoader(AdaptivePerformance.AdaptivePerformanceManagerSettings settings, string loaderTypeName, BuildTargetGroup buildTargetGroup);

Parameters

Parameter Description
settings An instance of AdaptivePerformanceManagerSettings to add the loader to.
loaderTypeName The full type name for the loader instance to assign to settings.
buildTargetGroup The build target group being assigned to.

Returns

bool True if assignment succeeds, false if not.

Description

Assigns a loader of type loaderTypeName to the settings instance. Will instantiate an instance if one can't be found in the user's project folder before assigning it.