Assets.NodeEditor.Editor.NodeHandle.DrawHandle C# (CSharp) Method

DrawHandle() public method

Draw the handle
public DrawHandle ( ) : void
return void
        public virtual void DrawHandle() {
            rect = new Rect(attachedTo.rect.center + position, new Vector2(handleTex.width, handleTex.height));
            GUI.DrawTexture(rect, handleTex);
        }

Usage Example

Beispiel #1
0
 private void DrawHandle(NodeHandle handle) {
     if (handle == null) return;
     handle.DrawHandle();
 }