C# 클래스 tk2dGuiUtility, Malisse

파일 보기 프로젝트 열기: Collegiennes/Malisse

공개 메소드들

메소드 설명
BeginChangeCheck ( ) : void
DragableHandle ( int id, Rect windowRect, float offset, DragDirection, direction ) : float
EndChangeCheck ( ) : bool
InfoBox ( string message, WarningLevel warningLevel ) : void

Display a warning box in the current GUI layout. This is expanded to fit the current GUILayout rect.

InfoBoxWithButtons ( string message, WarningLevel warningLevel ) : int

Displays a warning box in the current GUI layout, with buttons. Returns the index of button pressed, or -1 otherwise.

PlatformPopup ( tk2dSystem system, string label, string platform ) : string
PositionHandle ( int id, Vector2 position, float size, Color inactiveColor, Color activeColor ) : Vector2
PositionHandle ( int id, Vector2 position, float size, Color inactiveColor, Color activeColor, KeyCode, &keyCode ) : Vector2
SaveFileInProject ( string title, string directory, string filename, string ext ) : string
SetPositionHandleValue ( int id, Vector2 val ) : void

메소드 상세

BeginChangeCheck() 공개 정적인 메소드

public static BeginChangeCheck ( ) : void
리턴 void

DragableHandle() 공개 정적인 메소드

public static DragableHandle ( int id, Rect windowRect, float offset, DragDirection, direction ) : float
id int
windowRect Rect
offset float
direction DragDirection,
리턴 float

EndChangeCheck() 공개 정적인 메소드

public static EndChangeCheck ( ) : bool
리턴 bool

InfoBox() 공개 정적인 메소드

Display a warning box in the current GUI layout. This is expanded to fit the current GUILayout rect.
public static InfoBox ( string message, WarningLevel warningLevel ) : void
message string
warningLevel WarningLevel
리턴 void

InfoBoxWithButtons() 공개 정적인 메소드

Displays a warning box in the current GUI layout, with buttons. Returns the index of button pressed, or -1 otherwise.
public static InfoBoxWithButtons ( string message, WarningLevel warningLevel ) : int
message string
warningLevel WarningLevel
리턴 int

PlatformPopup() 공개 정적인 메소드

public static PlatformPopup ( tk2dSystem system, string label, string platform ) : string
system tk2dSystem
label string
platform string
리턴 string

PositionHandle() 공개 정적인 메소드

public static PositionHandle ( int id, Vector2 position, float size, Color inactiveColor, Color activeColor ) : Vector2
id int
position Vector2
size float
inactiveColor Color
activeColor Color
리턴 Vector2

PositionHandle() 공개 정적인 메소드

public static PositionHandle ( int id, Vector2 position, float size, Color inactiveColor, Color activeColor, KeyCode, &keyCode ) : Vector2
id int
position Vector2
size float
inactiveColor Color
activeColor Color
keyCode KeyCode,
리턴 Vector2

SaveFileInProject() 공개 정적인 메소드

public static SaveFileInProject ( string title, string directory, string filename, string ext ) : string
title string
directory string
filename string
ext string
리턴 string

SetPositionHandleValue() 공개 정적인 메소드

public static SetPositionHandleValue ( int id, Vector2 val ) : void
id int
val Vector2
리턴 void