C# Class RemoteTech.UI.AbstractWindow

Show file Open project: RemoteTechnologiesGroup/RemoteTech Class Usage Examples

Public Properties

Property Type Description
Enabled bool
Frame UnityEngine.GUIStyle
Position UnityEngine.Rect
Windows AbstractWindow>.Dictionary
backupPosition UnityEngine.Rect
mInitialHeight float
mInitialWidth float
onPositionChanged System.Action

Protected Properties

Property Type Description
mCloseButton bool
mSavePosition bool

Public Methods

Method Description
AbstractWindow ( System.Guid id, String title, Rect position, WindowAlign align ) : System
Draw ( ) : void
Hide ( ) : void
RequestPosition ( ) : Rect
Show ( ) : void
Window ( int uid ) : void
toggleWindow ( ) : void

Toggle the window

Private Methods

Method Description
AbstractWindow ( ) : System
OnHideUI ( ) : void
OnShowUI ( ) : void
WindowPre ( int uid ) : void
storePosition ( ) : void

Method Details

AbstractWindow() public method

public AbstractWindow ( System.Guid id, String title, Rect position, WindowAlign align ) : System
id System.Guid
title String
position UnityEngine.Rect
align WindowAlign
return System

Draw() public method

public Draw ( ) : void
return void

Hide() public method

public Hide ( ) : void
return void

RequestPosition() public method

public RequestPosition ( ) : Rect
return UnityEngine.Rect

Show() public method

public Show ( ) : void
return void

Window() public method

public Window ( int uid ) : void
uid int
return void

toggleWindow() public method

Toggle the window
public toggleWindow ( ) : void
return void

Property Details

Enabled public property

public bool Enabled
return bool

Frame public static property

public static GUIStyle,UnityEngine Frame
return UnityEngine.GUIStyle

Position public property

public Rect,UnityEngine Position
return UnityEngine.Rect

Windows public static property

public static Dictionary Windows
return AbstractWindow>.Dictionary

backupPosition public property

public Rect,UnityEngine backupPosition
return UnityEngine.Rect

mCloseButton protected property

todo
protected bool mCloseButton
return bool

mInitialHeight public property

The initial height of this window
public float mInitialHeight
return float

mInitialWidth public property

The initial width of this window
public float mInitialWidth
return float

mSavePosition protected property

protected bool mSavePosition
return bool

onPositionChanged public property

Callback trigger for the change in the posistion
public Action,System onPositionChanged
return System.Action