docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StoryBookBooleanProperty

    This class defines a boolean property for a StoryBookComponent.

    Inheritance
    object
    StoryBookComponentProperty
    StoryBookBooleanProperty
    Inherited Members
    StoryBookComponentProperty.name
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Editor
    Assembly: Unity.AppUI.Editor.dll
    Syntax
    public class StoryBookBooleanProperty : StoryBookComponentProperty

    Constructors

    StoryBookBooleanProperty(string, Func<VisualElement, bool>, Action<VisualElement, bool>)

    Constructor.

    Declaration
    public StoryBookBooleanProperty(string name, Func<VisualElement, bool> getter, Action<VisualElement, bool> setter)
    Parameters
    Type Name Description
    string name

    The name of the property.

    Func<VisualElement, bool> getter

    The getter of the property.

    Action<VisualElement, bool> setter

    The setter of the property.

    Properties

    getter

    The getter of the property.

    Declaration
    public Func<VisualElement, bool> getter { get; set; }
    Property Value
    Type Description
    Func<VisualElement, bool>

    setter

    The setter of the property.

    Declaration
    public Action<VisualElement, bool> setter { get; set; }
    Property Value
    Type Description
    Action<VisualElement, bool>
    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)