VisibilityAttribute

Class in Yarn.Unity

Inherits from YarnEditorAttribute

Summary

Controls whether a property is visible or not in the Unity Inspector.

public abstract class VisibilityAttribute : YarnEditorAttribute

Enums

Name
Description

The type of test represented by Condition .

Properties

Name
Description

The name of another property on the object that determines whether this property is visible or not.

The value that the variable indicated by Condition is compared to.

Controls whether the property appears when the condition passes ( true ), or fails ( false ).

The type of test that Condition represents.

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.