Hi everybody,
I'm trying to create a scrollable table with entries that are updated at the beginning. It works ok so far, but I have a weird error. This is my structure:
- Panel (UIPanel + UIScrollView)
-Table (UITable)
- Entry 1 (BoxCollider + UIDragScrollView)
- Entry 2 (BoxCollider + UIDragScrollView)
- ...
for(int i=0; i<myCount; i++)
{
GameObject g = Instantiate(MyGameObject) as GameObject;
g.SetActive(true);
g.transform.parent = myTable.transform;
g.transform.localScale = Vector3.one;
g.name=MyGameObject.name;
}
myTable.Reposition();
The problem is that the entries don't show up altough they are there. They are somehow invisible, but they appear one I start to scroll/drag the entries.
Any ideas? Any help would be appreciated.
Thanks and best regards,
Matthias