C# Class DiagramToolElement, UnityClassDiagram

Show file Open project: sashcode/UnityClassDiagram Class Usage Examples

Public Properties

Property Type Description
active bool
iconStyle GUIStyle
index int
rect Rect
texActive UnityEngine.Texture2D
texNormal UnityEngine.Texture2D
tool DiagramTool,

Public Methods

Method Description
DiagramToolElement ( DiagramToolBar, bar, Texture2D texNormal, Texture2D texActive, DiagramTool, tool ) : System.Collections.Generic
Draw ( Vector2 position ) : bool
GetTool ( ) : DiagramTool,

Method Details

DiagramToolElement() public method

public DiagramToolElement ( DiagramToolBar, bar, Texture2D texNormal, Texture2D texActive, DiagramTool, tool ) : System.Collections.Generic
bar DiagramToolBar,
texNormal UnityEngine.Texture2D
texActive UnityEngine.Texture2D
tool DiagramTool,
return System.Collections.Generic

Draw() public method

public Draw ( Vector2 position ) : bool
position Vector2
return bool

GetTool() public method

public GetTool ( ) : DiagramTool,
return DiagramTool,

Property Details

active public property

public bool active
return bool

iconStyle public property

public GUIStyle iconStyle
return GUIStyle

index public property

public int index
return int

rect public property

public Rect rect
return Rect

texActive public property

public Texture2D,UnityEngine texActive
return UnityEngine.Texture2D

texNormal public property

public Texture2D,UnityEngine texNormal
return UnityEngine.Texture2D

tool public property

public DiagramTool, tool
return DiagramTool,