Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.DontShowWhenAttribute Class Reference

Attribute to indicate that a field should be hidden when another field has a specific boolean value. More...

Inheritance diagram for PlatformerPro.DontShowWhenAttribute:

Public Member Functions

 DontShowWhenAttribute (string otherProperty)
 Initializes a new instance of the PlatformerPro.DontShowWhenAttribute class. More...
 
 DontShowWhenAttribute (string otherProperty, bool showWhenTrue)
 Initializes a new instance of the PlatformerPro.DontShowWhenAttribute class. More...
 

Public Attributes

string otherProperty
 Name of the other property. More...
 
bool showWhenTrue
 If true this property will be shown when other proprty is true. More...
 

Detailed Description

Attribute to indicate that a field should be hidden when another field has a specific boolean value.

Constructor & Destructor Documentation

◆ DontShowWhenAttribute() [1/2]

PlatformerPro.DontShowWhenAttribute.DontShowWhenAttribute ( string  otherProperty)

Initializes a new instance of the PlatformerPro.DontShowWhenAttribute class.

Parameters
otherPropertyOther property.

◆ DontShowWhenAttribute() [2/2]

PlatformerPro.DontShowWhenAttribute.DontShowWhenAttribute ( string  otherProperty,
bool  showWhenTrue 
)

Initializes a new instance of the PlatformerPro.DontShowWhenAttribute class.

Parameters
otherPropertyOther property.
showWhenTrueIf set to true show when true.

Member Data Documentation

◆ otherProperty

string PlatformerPro.DontShowWhenAttribute.otherProperty

Name of the other property.

◆ showWhenTrue

bool PlatformerPro.DontShowWhenAttribute.showWhenTrue

If true this property will be shown when other proprty is true.


The documentation for this class was generated from the following file: