Class ProfileValueReference
Used to store references to profile variables. This class is intended to be used for fields in user scripts, specifically ones that subclass AddressableAssetGroupSchema.
상속된 멤버
네임스페이스: UnityEditor.AddressableAssets.Settings
어셈블리: solution.dll
구문
[Serializable]
public class ProfileValueReference
필드
이름 | 설명 |
---|---|
OnValueChanged | This delegate will be invoked when the reference profile id changes. This will NOT be invoked when the actual profile value itself changes. |
프로퍼티
이름 | 설명 |
---|---|
Id | Get the profile variable id. |
메서드
이름 | 설명 |
---|---|
GetName(AddressableAssetSettings) | Get the profile variable name that is referenced. |
GetValue(AddressableAssetProfileSettings, string) | Evaluate the profile value using the provided profile settings object and a profile id. |
GetValue(AddressableAssetSettings) | Evaluate the profile value using the provided settings object. |
SetVariableById(AddressableAssetSettings, string) | Set the profile variable id using the id of the variable. |
SetVariableByName(AddressableAssetSettings, string) | Set the profile variable id using the name of the variable. |