docs.unity3d.com
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.AppUI.Editor
    Syntax
    public class StoryBookBooleanProperty : StoryBookComponentProperty

    Constructors

    StoryBookBooleanProperty(String, Func<VisualElement, Boolean>, Action<VisualElement, Boolean>)

    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, Boolean> getter

    The getter of the property.

    Action<VisualElement, Boolean> 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, Boolean>

    setter

    The setter of the property.

    Declaration
    public Action<VisualElement, bool> setter { get; set; }
    Property Value
    Type Description
    Action<VisualElement, Boolean>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023