C# Class Invert.Common.ElementDesignerStyles

Datei anzeigen Open project: InvertGames/uFrame.Editor

Public Methods

Method Description
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

Method Details

CreateHeader() public static method

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

DoTilebar() public static method

public static DoTilebar ( string label ) : void
label string
return void

DrawExpandableBox() public static method

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

DrawExpandableBox() public static method

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

FindClosestPoints() public static method

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
return void

GetHighlighter() public static method

public static GetHighlighter ( string highlighter ) : GUIStyle
highlighter string
return UnityEngine.GUIStyle

GetSkinTexture() public static method

public static GetSkinTexture ( string name ) : Texture2D
name string
return UnityEngine.Texture2D

TestClosest() public static method

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