技术标签: Unity GetComponents. 父类中,写了一个方法,再一个按钮事件中需要所有子类都执行这个方法:. //查找所有继承自RoomBase的子类. RoomBase[] roomBases;.
確定! 回上一頁