C# Class ClassDiagramEditor, UnityClassDiagram

Inheritance: DiagramEditorWindow
Mostra file Open project: sashcode/UnityClassDiagram Class Usage Examples

Public Methods

Method Description
ClassDiagramEditor ( ) : System.Collections
loadTexture ( string relativePath ) : Texture2D

Protected Methods

Method Description
GetNullDiagramRootMessage ( ) : string
OnGUIimpl ( ) : void
getDiagramRoot ( GameObject activeGameObject ) : DiagramRoot,

Private Methods

Method Description
Create ( ) : void
DrawAnchor ( Vector2 destAnchorPos, float angle, Texture2D texAnchor ) : void
DrawTypeField ( Rect rect, string type ) : string
GetAnchorPos ( Vector2 pointA, Rect wr2 ) : Vector2
GetDestAnchorTex ( ) : Texture2D
GetSrcAnchorTex ( ) : Texture2D
calcPosition ( Vector2 topLeft, Vector2 bottomRight, Vector2 pointA ) : float
changeModeDraw ( ) : void
changeModeRef ( ClassNode clazz, int refType ) : void
drawLine ( Rect wr, Rect wr2, Color color, bool mouse, Texture2D srcAnchor, Texture2D destAnchor ) : void
drawWindow ( int id ) : void
init ( ) : void

Method Details

ClassDiagramEditor() public method

public ClassDiagramEditor ( ) : System.Collections
return System.Collections

GetNullDiagramRootMessage() protected method

protected GetNullDiagramRootMessage ( ) : string
return string

OnGUIimpl() protected method

protected OnGUIimpl ( ) : void
return void

getDiagramRoot() protected method

protected getDiagramRoot ( GameObject activeGameObject ) : DiagramRoot,
activeGameObject GameObject
return DiagramRoot,

loadTexture() public static method

public static loadTexture ( string relativePath ) : Texture2D
relativePath string
return UnityEngine.Texture2D