C# Class exLayerEditor, ex2d-v1

Inheritance: EditorWindow
Datei anzeigen Open project: exdev/ex2d-v1 Class Usage Examples

Public Properties

Property Type Description
lockSelection bool

Protected Properties

Property Type Description
curEditGO GameObject
curLayer exLayer,
curShiftClick exLayer,
doDrag bool
doShiftSelect bool
inDragState bool
lastShiftClick exLayer,
layerCursorIn exLayer,
layers List
scrollPos Vector2
selectedLayers List
shiftClickStart exLayer,
sortSelection bool
totalInfoFieldHeight float

Public Methods

Method Description
Edit ( GameObject _go ) : void

Private Methods

Method Description
AddSelected ( exLayer, _l ) : void
CompareByIndex ( LayerForSort _a, LayerForSort _b ) : int
GetExactLayerIndex ( int &_index, exLayer, _curLayer, exLayer, _l ) : bool
Init ( ) : void
LayerField ( Rect _rect, int _indentLevel, exLayer, _layer ) : float
LayerTreeField ( float _x, float _y, exLayer, _layer ) : void
NewWindow ( ) : exLayerEditor,
OnEnable ( ) : void
OnGUI ( ) : void
OnSelectionChange ( ) : void
RecursivelyDestroyLayer ( exLayer, _layer ) : void
RemoveSelected ( exLayer, _l ) : void
SortSelection ( ) : void
ToggleSelected ( exLayer, _l ) : void

Method Details

Edit() public method

public Edit ( GameObject _go ) : void
_go GameObject
return void

Property Details

curEditGO protected_oe property

protected GameObject curEditGO
return GameObject

curLayer protected_oe property

protected exLayer, curLayer
return exLayer,

curShiftClick protected_oe property

protected exLayer, curShiftClick
return exLayer,

doDrag protected_oe property

protected bool doDrag
return bool

doShiftSelect protected_oe property

protected bool doShiftSelect
return bool

inDragState protected_oe property

protected bool inDragState
return bool

lastShiftClick protected_oe property

protected exLayer, lastShiftClick
return exLayer,

layerCursorIn protected_oe property

protected exLayer, layerCursorIn
return exLayer,

layers protected_oe property

protected List layers
return List

lockSelection public_oe property

public bool lockSelection
return bool

scrollPos protected_oe property

protected Vector2 scrollPos
return Vector2

selectedLayers protected_oe property

protected List selectedLayers
return List

shiftClickStart protected_oe property

protected exLayer, shiftClickStart
return exLayer,

sortSelection protected_oe property

protected bool sortSelection
return bool

totalInfoFieldHeight protected_oe property

protected float totalInfoFieldHeight
return float