C# 클래스 Forge.Editing.DataInspectorView

파일 보기 프로젝트 열기: jacobdufault/forge-unity 1 사용 예제들

공개 메소드들

메소드 설명
DrawDataInspector ( IQueryableEntity entity, Type dataType, GameObject context ) : void
DrawSceneGUI ( Data data, GameObject context ) : void

비공개 메소드들

메소드 설명
CanEditPrevious ( IQueryableEntity entity, Type dataType ) : bool

Returns true if the given data type has a previous instance that can be edited for the given entity.

GetDataHeader ( Type dataType, IQueryableEntity queryableEntity, DataEditState editState ) : string

Returns the data header that should be shown above the data type.

GetEditState ( IQueryableEntity entity, Type dataType ) : DataEditState

Returns the current editing state for the given data type in the given entity.

GetEditedData ( IQueryableEntity entity, DataEditState editState, Type dataType ) : Data.IData

Returns the data instance that should be edited based on the given edit state and data type.

IsHidden ( IQueryableEntity entity, Type dataType ) : bool
RemoveData ( IQueryableEntity entity, Type dataType ) : void

Removes the given data type from the entity.

SetEditState ( IQueryableEntity entity, Type dataType, DataEditState value ) : void

Sets the editing state for the given data type in the given entity to the given value.

SetHidden ( IQueryableEntity entity, Type dataType, bool value ) : void

메소드 상세

DrawDataInspector() 공개 메소드

public DrawDataInspector ( IQueryableEntity entity, Type dataType, GameObject context ) : void
entity IQueryableEntity
dataType System.Type
context UnityEngine.GameObject
리턴 void

DrawSceneGUI() 공개 메소드

public DrawSceneGUI ( Data data, GameObject context ) : void
data Data
context UnityEngine.GameObject
리턴 void