C# 클래스 Invert.Common.ElementDesignerStyles

파일 보기 프로젝트 열기: InvertGames/uFrame.Editor

공개 메소드들

메소드 설명
CreateHeader ( string texture, Color color ) : GUIStyle
DoTilebar ( string label ) : void
DrawExpandableBox ( Rect rect, GUIStyle style, string text, RectOffset offset ) : void
DrawExpandableBox ( Rect rect, GUIStyle style, string text, float offset = 12 ) : void
FindClosestPoints ( Vector3 a, Vector3 b, Vector3 &pointA, Vector3 &pointB, int &indexA, int &indexB ) : void
GetHighlighter ( string highlighter ) : GUIStyle
GetSkinTexture ( string name ) : Texture2D
TestClosest ( Vector2 a, Rect b ) : Vector3

메소드 상세

CreateHeader() 공개 정적인 메소드

public static CreateHeader ( string texture, Color color ) : GUIStyle
texture string
color Color
리턴 UnityEngine.GUIStyle

DoTilebar() 공개 정적인 메소드

public static DoTilebar ( string label ) : void
label string
리턴 void

DrawExpandableBox() 공개 정적인 메소드

public static DrawExpandableBox ( Rect rect, GUIStyle style, string text, RectOffset offset ) : void
rect UnityEngine.Rect
style UnityEngine.GUIStyle
text string
offset UnityEngine.RectOffset
리턴 void

DrawExpandableBox() 공개 정적인 메소드

public static DrawExpandableBox ( Rect rect, GUIStyle style, string text, float offset = 12 ) : void
rect UnityEngine.Rect
style UnityEngine.GUIStyle
text string
offset float
리턴 void

FindClosestPoints() 공개 정적인 메소드

public static FindClosestPoints ( Vector3 a, Vector3 b, Vector3 &pointA, Vector3 &pointB, int &indexA, int &indexB ) : void
a Vector3
b Vector3
pointA Vector3
pointB Vector3
indexA int
indexB int
리턴 void

GetHighlighter() 공개 정적인 메소드

public static GetHighlighter ( string highlighter ) : GUIStyle
highlighter string
리턴 UnityEngine.GUIStyle

GetSkinTexture() 공개 정적인 메소드

public static GetSkinTexture ( string name ) : Texture2D
name string
리턴 UnityEngine.Texture2D

TestClosest() 공개 정적인 메소드

public static TestClosest ( Vector2 a, Rect b ) : Vector3
a Vector2
b UnityEngine.Rect
리턴 Vector3