C# Class TNRD.Autohook.AutoHookAttribute

Inheritance: PropertyAttribute
Mostrar archivo Open project: Thundernerd/Unity3D-AutoHook Class Usage Examples

Public Properties

Property Type Description
HideWhenFound bool
ReadOnlyWhenFound bool
SearchArea AutoHookSearchArea
StopSearchWhenFound bool

Public Methods

Method Description
AutoHookAttribute ( ) : System
AutoHookAttribute ( AutoHookSearchArea searchArea ) : System

Method Details

AutoHookAttribute() public method

public AutoHookAttribute ( ) : System
return System

AutoHookAttribute() public method

public AutoHookAttribute ( AutoHookSearchArea searchArea ) : System
searchArea AutoHookSearchArea
return System

Property Details

HideWhenFound public_oe property

Reduces the size of the property to 0 when a matching component has been found
public bool HideWhenFound
return bool

ReadOnlyWhenFound public_oe property

Marks the property as read-only when a matching component has been found
public bool ReadOnlyWhenFound
return bool

SearchArea public_oe property

public AutoHookSearchArea SearchArea
return AutoHookSearchArea

StopSearchWhenFound public_oe property

Stops calling GetComponent when a matching component has been found. This is useful if you have many [AutoHook] usages in your file
public bool StopSearchWhenFound
return bool