C# Class EditorPanel, CodeSpells

Afficher le fichier Open project: srfoster/CodeSpells Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
setScrollDims ( ) : void
setTextAreaRect ( ) : void

Method Details

EditorPanel() public méthode

public EditorPanel ( IDE, idething ) : UnityEngine
idething IDE,
Résultat UnityEngine

draw() public méthode

public draw ( bool displayCode ) : void
displayCode bool
Résultat void

getEditorRect() public méthode

public getEditorRect ( ) : Rect
Résultat Rect

getScrollHeight() public méthode

public getScrollHeight ( ) : float
Résultat float

getScrollWidth() public méthode

public getScrollWidth ( ) : float
Résultat float

getTextAreaRect() public méthode

public getTextAreaRect ( ) : Rect
Résultat Rect

isWithin() public méthode

public isWithin ( Vector2 pos ) : bool
pos Vector2
Résultat bool

move() public méthode

public move ( float x, float y ) : void
x float
y float
Résultat void

scale() public méthode

public scale ( float xscale, float yscale ) : void
xscale float
yscale float
Résultat void

setTexture() public méthode

public setTexture ( Texture2D bgTexture ) : void
bgTexture UnityEngine.Texture2D
Résultat void