TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TptAttributeBaseAttribute Class Reference

This is the base class for all Tpt attributes except ShowAsLabelBrushInspector. More...

Inheritance diagram for TilePlus.TptAttributeBaseAttribute:
Collaboration diagram for TilePlus.TptAttributeBaseAttribute:

Public Attributes

SpaceMode m_SpaceMode
 Space or draw-line control.
ShowMode m_ShowMode
 Controls how to show the item that the attr is attached to.
string m_VisibilityProperty
 If showMode == Property, the name of a property to control visibility.

Protected Member Functions

 TptAttributeBaseAttribute (SpaceMode spaceMode=SpaceMode.None, ShowMode showMode=ShowMode.Always, string visibilityProperty="")
 Constructor for the Tpt base attribute.

Detailed Description

This is the base class for all Tpt attributes except ShowAsLabelBrushInspector.

Constructor & Destructor Documentation

◆ TptAttributeBaseAttribute()

TilePlus.TptAttributeBaseAttribute.TptAttributeBaseAttribute ( SpaceMode spaceMode = SpaceMode::None,
ShowMode showMode = ShowMode::Always,
string visibilityProperty = "" )
protected

Constructor for the Tpt base attribute.

Parameters
spaceModeSpace or line before or after or nothing
showModeShow always, only in Play mode, only when Not playing, or use a named property
visibilityPropertyNamed property when showMode == Property

Member Data Documentation

◆ m_ShowMode

ShowMode TilePlus.TptAttributeBaseAttribute.m_ShowMode

Controls how to show the item that the attr is attached to.

◆ m_SpaceMode

SpaceMode TilePlus.TptAttributeBaseAttribute.m_SpaceMode

Space or draw-line control.

◆ m_VisibilityProperty

string TilePlus.TptAttributeBaseAttribute.m_VisibilityProperty

If showMode == Property, the name of a property to control visibility.


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