unity让UI显示在最上面

unity让UI显示在最上面

int count = transform.parent.childCount - 1;//Panel移

transform.SetSiblingIndex(count);//Panel移位

  

posted @ 2021-08-14 10:05  Domefy  阅读(1963)  评论(0)    收藏  举报