When call NodeGUI->UpdateNodeRect outside OnGUI ,will throw "ArgumentException:You can only call GUI functions from inside OnGUI."

Issue #76 resolved
Jhon created an issue

the point is GUI.skin.label.CalcSize not allow been called outside OnGUI.

float labelWidth = GUI.skin.label.CalcSize(new GUIContent(this.Name)).x;

please help ....

Comments (2)

  1. Log in to comment