C# Class RemoteTech.UI.AbstractWindow

Mostra 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_oe property

public bool Enabled
return bool

Frame public_oe static_oe property

public static GUIStyle,UnityEngine Frame
return UnityEngine.GUIStyle

Position public_oe property

public Rect,UnityEngine Position
return UnityEngine.Rect

Windows public_oe static_oe property

public static Dictionary Windows
return AbstractWindow>.Dictionary

backupPosition public_oe property

public Rect,UnityEngine backupPosition
return UnityEngine.Rect

mCloseButton protected_oe property

todo
protected bool mCloseButton
return bool

mInitialHeight public_oe property

The initial height of this window
public float mInitialHeight
return float

mInitialWidth public_oe property

The initial width of this window
public float mInitialWidth
return float

mSavePosition protected_oe property

protected bool mSavePosition
return bool

onPositionChanged public_oe property

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