docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildingBlockUtils

    This class contains a set of utility methods when working with Building Blocks.

    Inheritance
    object
    BuildingBlockUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.XR.CoreUtils.Editor.BuildingBlocks
    Assembly: Unity.XR.CoreUtils.Editor.dll
    Syntax
    public static class BuildingBlockUtils

    Methods

    AnyCapabilityProfileSelected()

    Checks if any capability profiles are currently selected.

    Declaration
    public static bool AnyCapabilityProfileSelected()
    Returns
    Type Description
    bool

    returns true when there are capability profiles selected in the project validation window under Project settings. Returns false if there are no capability assets in the project or no capability profile is/are selected

    GenerateMissingCapabilitiesRequiredTooltip(params string[])

    Generates a string message with a set of capability keys that are required for a building block to be enabled.

    Declaration
    public static string GenerateMissingCapabilitiesRequiredTooltip(params string[] capabilityKeys)
    Parameters
    Type Name Description
    string[] capabilityKeys

    The capability keys which should be included in the message.

    Returns
    Type Description
    string

    The formatted string.

    In This Article
    Back to top
    Copyright © 2024 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)