C# Class EditorPanel, CodeSpells

Datei anzeigen Open project: srfoster/CodeSpells Class Usage Examples

Public Methods

Method Description
EditorPanel ( IDE, idething ) : UnityEngine
draw ( bool displayCode ) : void
getEditorRect ( ) : Rect
getScrollHeight ( ) : float
getScrollWidth ( ) : float
getTextAreaRect ( ) : Rect
isWithin ( Vector2 pos ) : bool
move ( float x, float y ) : void
scale ( float xscale, float yscale ) : void
setTexture ( Texture2D bgTexture ) : void

Private Methods

Method Description
setScrollDims ( ) : void
setTextAreaRect ( ) : void

Method Details

EditorPanel() public method

public EditorPanel ( IDE, idething ) : UnityEngine
idething IDE,
return UnityEngine

draw() public method

public draw ( bool displayCode ) : void
displayCode bool
return void

getEditorRect() public method

public getEditorRect ( ) : Rect
return Rect

getScrollHeight() public method

public getScrollHeight ( ) : float
return float

getScrollWidth() public method

public getScrollWidth ( ) : float
return float

getTextAreaRect() public method

public getTextAreaRect ( ) : Rect
return Rect

isWithin() public method

public isWithin ( Vector2 pos ) : bool
pos Vector2
return bool

move() public method

public move ( float x, float y ) : void
x float
y float
return void

scale() public method

public scale ( float xscale, float yscale ) : void
xscale float
yscale float
return void

setTexture() public method

public setTexture ( Texture2D bgTexture ) : void
bgTexture UnityEngine.Texture2D
return void