Click or drag to resize

HideFieldAttribute Constructor (String, Boolean, Boolean)

Constructor for not completely hiding the field and inverting the evaluation

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public HideFieldAttribute(
	string conditionalSourceField,
	bool completelyHide,
	bool inverse
)

Parameters

conditionalSourceField
Type: SystemString
The name of the field whose value will be evaluated into a true or false
completelyHide
Type: SystemBoolean
Whether or not you want to hide the field completely, or just make it not editable unless in debug mode in the inspector
inverse
Type: SystemBoolean
After performing all the evaluations, do you want to return the opposite?
See Also