SpaceRTS - Starter Pack  1.3
GameBase.AttributeExtension.CustomAttribute Class Reference

Use this PropertyAttribute to achieve indentation, readonly or conditional feature at the same time. More...

Inheritance diagram for GameBase.AttributeExtension.CustomAttribute:

Public Member Functions

 CustomAttribute ()
 

Public Attributes

string conditional =""
 Name of the field that controls if this one can be visible or not. (must be a bool) More...
 
int indent =0
 Indentation level for this field. More...
 
bool readOnly = false
 Indicates if this field is read only or can be edited by the inspector. More...
 

Detailed Description

Use this PropertyAttribute to achieve indentation, readonly or conditional feature at the same time.

Constructor & Destructor Documentation

◆ CustomAttribute()

GameBase.AttributeExtension.CustomAttribute.CustomAttribute ( )

Member Data Documentation

◆ conditional

string GameBase.AttributeExtension.CustomAttribute.conditional =""

Name of the field that controls if this one can be visible or not. (must be a bool)

◆ indent

int GameBase.AttributeExtension.CustomAttribute.indent =0

Indentation level for this field.

◆ readOnly

bool GameBase.AttributeExtension.CustomAttribute.readOnly = false

Indicates if this field is read only or can be edited by the inspector.