THi sis the Unity code
Could that mean that GUIClip has been deprecated or is moved somewhere else?
I import a model U2 into U3f4
protected override void DrawControl()
{
GUIClip.Push(_viewRect);
DrawInnerControls();
GUIClip.Pop();
}
THi sis the Unity code
Could that mean that GUIClip has been deprecated or is moved somewhere else?
I import a model U2 into U3f4
protected override void DrawControl()
{
GUIClip.Push(_viewRect);
DrawInnerControls();
GUIClip.Pop();
}
A quick search do not give me anything. What is a GUIClip ?
GUIClip is part of Unity’s GUI but in version 3 it seems that it has been replaced/renamed/discarded? I don’t know but it causes problem compiling
sounds like a thing that someone write himself.
Thats already pretty much implied by the style of usage with push - pop, because unitygui itself is stateless so that can impossibly be a unitygui gadget
Hi,
i had same trouble, try this :
GUILayout.BeginArea (this.clientRect);
DrawInnerControls();
GUILayout.EndArea ();