C# 클래스 Entitas.Unity.VisualDebugging.EntityDrawer

파일 보기 프로젝트 열기: sschmid/Entitas-CSharp 1 사용 예제들

공개 메소드들

메소드 설명
CreateDefault ( Type type, object &defaultValue ) : bool
DidValueChange ( object value, object newValue ) : bool
DrawAndGetNewValue ( Type memberType, string memberName, object value, System.Entity entity, int index, IComponent component ) : object
DrawAndSetElement ( Type memberType, string memberName, object value, System.Entity entity, int index, IComponent component, object>.Action setValue ) : void
DrawComponent ( bool unfoldedComponents, System.Entity entity, int index, IComponent component ) : void
DrawComponents ( Context context, System.Entity entity, bool hideInBlueprintInspector = false ) : void
DrawEntity ( Context context, System.Entity entity ) : void
DrawMultipleEntities ( Context context, System.Entity entities, bool hideInBlueprintInspector = false ) : void
Initialize ( ) : void

비공개 메소드들

메소드 설명
createTexture ( int width, int height, Color color ) : Texture2D
drawAddComponentMenu ( System.Entity entity, bool hideInBlueprintInspector ) : int
drawUnsupportedType ( Type memberType, string memberName, object value ) : void
generateIDefaultInstanceCreator ( string typeName ) : void
generateITypeDrawer ( string typeName ) : void
generateTemplate ( string folder, string filePath, string template ) : void
getColoredBoxStyle ( int totalComponents, int index ) : GUIStyle
getComponentDrawer ( Type type ) : IComponentDrawer
getComponentInfos ( System.Entity entity, bool hideInBlueprintInspector ) : ComponentInfo[]
getTypeDrawer ( Type type ) : ITypeDrawer

메소드 상세

CreateDefault() 공개 정적인 메소드

public static CreateDefault ( Type type, object &defaultValue ) : bool
type System.Type
defaultValue object
리턴 bool

DidValueChange() 공개 정적인 메소드

public static DidValueChange ( object value, object newValue ) : bool
value object
newValue object
리턴 bool

DrawAndGetNewValue() 공개 정적인 메소드

public static DrawAndGetNewValue ( Type memberType, string memberName, object value, System.Entity entity, int index, IComponent component ) : object
memberType System.Type
memberName string
value object
entity System.Entity
index int
component IComponent
리턴 object

DrawAndSetElement() 공개 정적인 메소드

public static DrawAndSetElement ( Type memberType, string memberName, object value, System.Entity entity, int index, IComponent component, object>.Action setValue ) : void
memberType System.Type
memberName string
value object
entity System.Entity
index int
component IComponent
setValue object>.Action
리턴 void

DrawComponent() 공개 정적인 메소드

public static DrawComponent ( bool unfoldedComponents, System.Entity entity, int index, IComponent component ) : void
unfoldedComponents bool
entity System.Entity
index int
component IComponent
리턴 void

DrawComponents() 공개 정적인 메소드

public static DrawComponents ( Context context, System.Entity entity, bool hideInBlueprintInspector = false ) : void
context Context
entity System.Entity
hideInBlueprintInspector bool
리턴 void

DrawEntity() 공개 정적인 메소드

public static DrawEntity ( Context context, System.Entity entity ) : void
context Context
entity System.Entity
리턴 void

DrawMultipleEntities() 공개 정적인 메소드

public static DrawMultipleEntities ( Context context, System.Entity entities, bool hideInBlueprintInspector = false ) : void
context Context
entities System.Entity
hideInBlueprintInspector bool
리턴 void

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void