C# Class TNRD.Autohook.AutoHookAttribute

Inheritance: PropertyAttribute
Afficher le fichier Open project: Thundernerd/Unity3D-AutoHook Class Usage Examples

Méthodes publiques

Свойство Type Description
HideWhenFound bool
ReadOnlyWhenFound bool
SearchArea AutoHookSearchArea
StopSearchWhenFound bool

Méthodes publiques

Méthode Description
AutoHookAttribute ( ) : System
AutoHookAttribute ( AutoHookSearchArea searchArea ) : System

Method Details

AutoHookAttribute() public méthode

public AutoHookAttribute ( ) : System
Résultat System

AutoHookAttribute() public méthode

public AutoHookAttribute ( AutoHookSearchArea searchArea ) : System
searchArea AutoHookSearchArea
Résultat 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
Résultat bool

ReadOnlyWhenFound public_oe property

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

SearchArea public_oe property

public AutoHookSearchArea SearchArea
Résultat 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
Résultat bool