docs.unity3d.com
    目次を表示する/隠す

    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.

    Inheritance
    Object
    ProfileValueReference
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Settings
    Syntax
    [Serializable]
    public class ProfileValueReference

    Fields

    Name Description
    OnValueChanged

    This delegate will be invoked when the reference profile id changes. This will NOT be invoked when the actual profile value itself changes.

    Properties

    Name Description
    Id

    Get the profile variable id.

    Methods

    Name Description
    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.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)