C# 클래스 UnityPickers.AssetPicker

상속: EditorWindow
파일 보기 프로젝트 열기: vasyab/UnityPickers 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DependenciesFilters bool>>.List

Private Properties

프로퍼티 타입 설명
AddAssetInfo void
AssetPicker System
BuildFlatAssets void
DisplayAsset void
DisplayList void
FilterAssets void
FitsFilters bool
GetFilter string
HandleKeyDown void
InitStyles void
MatchesLabels bool
MatchesName bool
OnAssetHover void
OnAssetSelected void
OnDisable void
OnEnable void
OnGUI void
OpenWindow void
SortChildren void
UpdateAssetList void
UpdateFilter void
UpdateFilterRecursive bool

공개 메소드들

메소드 설명
CollectAssetTypes ( ) : IEnumerable
ObjectField ( Rect position, Object currentValue, Action pickCallback, GUIContent label, Type assetType, Func filter = null ) : void
PropertyField ( Rect position, SerializedProperty property, FieldInfo fieldInfo, GUIContent label, Type assetType, Func filter = null ) : void

Shows built-in ObjectField, but overrides thumb button to call our AssetPicker window instead

PropertyField ( Rect position, SerializedProperty property, FieldInfo fieldInfo, Object currentValue, Action pickCallback, GUIContent label, Type assetType, Func filter = null ) : void

Shows built-in ObjectField with custom value source and pick target

Show ( Type assetType, FieldInfo fieldInfo, Action callback, Object selectedAsset = null, Func filter = null ) : void
Show ( Action callback, Array labels = null, bool enableSelectionOnClick = false, Object selectedAsset = null ) : void

비공개 메소드들

메소드 설명
AddAssetInfo ( HierarchyProperty hp ) : void
AssetPicker ( ) : System
BuildFlatAssets ( List entries ) : void
DisplayAsset ( HierarchyEntry entry ) : void
DisplayList ( List list ) : void
FilterAssets ( List &entries ) : void
FitsFilters ( HierarchyEntry he ) : bool
GetFilter ( ) : string
HandleKeyDown ( ) : void
InitStyles ( ) : void
MatchesLabels ( HierarchyEntry entry ) : bool
MatchesName ( HierarchyEntry entry ) : bool
OnAssetHover ( bool scrollToAsset = true ) : void
OnAssetSelected ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
OpenWindow ( ) : void
SortChildren ( HierarchyEntry entry ) : void
UpdateAssetList ( ) : void
UpdateFilter ( ) : void
UpdateFilterRecursive ( List list ) : bool

메소드 상세

CollectAssetTypes() 공개 메소드

public CollectAssetTypes ( ) : IEnumerable
리턴 IEnumerable

ObjectField() 공개 정적인 메소드

public static ObjectField ( Rect position, Object currentValue, Action pickCallback, GUIContent label, Type assetType, Func filter = null ) : void
position Rect
currentValue UnityEngine.Object
pickCallback Action
label GUIContent
assetType Type
filter Func
리턴 void

PropertyField() 공개 정적인 메소드

Shows built-in ObjectField, but overrides thumb button to call our AssetPicker window instead
public static PropertyField ( Rect position, SerializedProperty property, FieldInfo fieldInfo, GUIContent label, Type assetType, Func filter = null ) : void
position Rect
property SerializedProperty
fieldInfo FieldInfo
label GUIContent
assetType Type
filter Func
리턴 void

PropertyField() 공개 정적인 메소드

Shows built-in ObjectField with custom value source and pick target
public static PropertyField ( Rect position, SerializedProperty property, FieldInfo fieldInfo, Object currentValue, Action pickCallback, GUIContent label, Type assetType, Func filter = null ) : void
position Rect
property SerializedProperty
fieldInfo FieldInfo
currentValue UnityEngine.Object
pickCallback Action
label GUIContent
assetType Type
filter Func
리턴 void

Show() 공개 정적인 메소드

public static Show ( Type assetType, FieldInfo fieldInfo, Action callback, Object selectedAsset = null, Func filter = null ) : void
assetType Type
fieldInfo FieldInfo
callback Action
selectedAsset UnityEngine.Object
filter Func
리턴 void

Show() 공개 정적인 메소드

public static Show ( Action callback, Array labels = null, bool enableSelectionOnClick = false, Object selectedAsset = null ) : void
callback Action
labels Array
enableSelectionOnClick bool
selectedAsset UnityEngine.Object
리턴 void

프로퍼티 상세

DependenciesFilters 공개적으로 정적으로 프로퍼티

public static List> DependenciesFilters
리턴 bool>>.List