C# Class LabelSearchAttribute, property-drawer-collection

ラベル名からアセットを検索し、アタッチします
Inheritance: PropertyAttribute
Afficher le fichier Open project: anchan828/property-drawer-collection

Méthodes publiques

Свойство Type Description
assetTypes System.Type>.Dictionary
canPrintLabelName bool
direction Direction,
foldout bool
init bool
labelName string
limit int
search bool

Méthodes publiques

Méthode Description
LabelSearchAttribute ( string labelName ) : System.Collections.Generic
LabelSearchAttribute ( string labelName, Direction, direction ) : System.Collections.Generic
LabelSearchAttribute ( string labelName, int limit ) : System.Collections.Generic
LabelSearchAttribute ( string labelName, int limit, Direction, direction ) : System.Collections.Generic

Method Details

LabelSearchAttribute() public méthode

public LabelSearchAttribute ( string labelName ) : System.Collections.Generic
labelName string
Résultat System.Collections.Generic

LabelSearchAttribute() public méthode

public LabelSearchAttribute ( string labelName, Direction, direction ) : System.Collections.Generic
labelName string
direction Direction,
Résultat System.Collections.Generic

LabelSearchAttribute() public méthode

public LabelSearchAttribute ( string labelName, int limit ) : System.Collections.Generic
labelName string
limit int
Résultat System.Collections.Generic

LabelSearchAttribute() public méthode

public LabelSearchAttribute ( string labelName, int limit, Direction, direction ) : System.Collections.Generic
labelName string
limit int
direction Direction,
Résultat System.Collections.Generic

Property Details

assetTypes public_oe static_oe property

検索の高速化のためTypeをキャッシュしておく

public static Dictionary assetTypes
Résultat System.Type>.Dictionary

canPrintLabelName public_oe property

インスペクターにラベル名を表示するかどうか

trueで表示する

public bool canPrintLabelName
Résultat bool

direction public_oe property

検索順が降順か昇順か

public Direction, direction
Résultat Direction,

foldout public_oe property

配列の時に使用する

インスペクターを表示した時、最初から配列のフィールドを描画したい場合trueにする

public bool foldout
Résultat bool

init public_oe property

falseで検索が完了していなくても、とりあえずインスペクターを表示するようになる

trueだと検索が終わるまでインスペクターが表示されない

public bool init
Résultat bool

labelName public_oe property

検索するラベル名

public string labelName
Résultat string

limit public_oe property

取得する最大数

負や0を指定しても2147483647になる

public int limit
Résultat int

search public_oe property

インスペクターが表示された初回のみ検索が行われる

falseだと検索が行われず描画されない

public bool search
Résultat bool