docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetValue

    SetValue(string, string, string)

    Set the value of a variable for a specified profile.

    Declaration
    public void SetValue(string profileId, string variableName, string val)
    Parameters
    Type Name Description
    string profileId

    The profile id.

    string variableName

    The property name.

    string val

    The value to set the property.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)