2021
07-26
07-26
详解Unity入门之GameObject
目录Input和InputManagerMonoBehaviour总结GameObject和ComponentGameObject是游戏场景中真实存在的,而且有位置的一个物件Component附属于GameObject,控制GameObject的各种属性GameObject是由Component组合成的,Component的生命周期和GameObject息息相关。调用此GameObject的Destroy方法,它的子对象和对应的所有Component都会被销毁,但也可以一次只销毁一个Component常见的Component:...
继续阅读 >