«Unity 动态地创建按钮的方法»
by pluvet on Jul 31, 2019
        GameObject newButton = Instantiate(button) as GameObject;
        newButton.transform.SetParent(newCanvas.transform, false);

仅有一条评论

  1. (/TДT)/学C#的都跑去开发Unity了(暴论

添加新评论