摘要: public class Student2 { public string name; public int age; public Student2(int age, string name) { this.age = age; this.name = name; } } public class 阅读全文
posted @ 2025-04-06 16:25 cannedmint 阅读(17) 评论(0) 推荐(0)
摘要: [System.Serializable] public class Student { public string name; public int age; public Student(int age,string name) { this.age = age; this.name = nam 阅读全文
posted @ 2025-04-06 11:58 cannedmint 阅读(22) 评论(0) 推荐(0)
摘要: public class L18 : MonoBehaviour { // Start is called before the first frame update void Start() { //水平垂直布局组件 将对象并排或者竖直地放在一起 //Horizontal Layout Group 阅读全文
posted @ 2025-04-06 09:51 cannedmint 阅读(26) 评论(0) 推荐(0)