Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ability to fast clear touchable container.

So need when we dynamically fill container.
  • Loading branch information...
commit 36d46a853da6c6c368be5690ccef5c2aaa7b93ec 1 parent bb0c216
@cayse cayse authored
View
7 Assets/Plugins/UIToolkit/BaseElements/UIAbstractTouchableContainer.cs
@@ -479,6 +479,13 @@ public void setSize( float width, float height )
calculateMinMaxInsets();
}
+ /// <summary>
+ /// Clear all childs
+ /// </summary>
+ public void Clear() {
+ _children.Clear();
+ layoutChildren();
+ }
/// <summary>
/// Override so that we can remove the touchable sprites. The container needs to manage all touches.
Please sign in to comment.
Something went wrong with that request. Please try again.