예제 #1
0
 public void AddScrollable(GUIElement element)
 {
     element.ApplyOffset(offset + innerOffset);
     scrollContainer.Add(element);
     element.SetParent(scrollContainer);
 }
예제 #2
0
 public void Add(GUIElement element)
 {
     element.ApplyOffset(offset);
     contents.Add(element);
 }