GameObject和gameobject之间的区别
2014-05-04 21:31
525 查看
GameObject is a type of object and acts as a base class for most Unity entities. It refers
to the GameObject stored by unity which holds all Component data related to a GameObject (such as the Transform), the name and various other things.
gameObject is a local variable of type GameObject which is inherited from Component.
It allows one to access the instance of the GameObject to which this component is attached.
is in most cases functionally the same as
GameObject is a type of object and acts as a base class for most Unity entities. It refers
to the GameObject stored by unity which holds all Component data related to a GameObject (such as the Transform), the name and various other things.
gameObject is a local variable of type GameObject which is inherited from Component.
It allows one to access the instance of the GameObject to which this component is attached.
gameObject[/code]
is in most cases functionally the same as
GetComponent("GameObject") as GameObject[/code]
相关文章推荐
- [软件资讯]Unity已支持将3D游戏导出成Flash
- Unity3D动画存储插件
- Unity3D占用内存太大的解决方法
- unity调用adk时 找不到资源 R文件索引失效
- Unity GUIskin开发包(超炫)
- 教程:如何使用Unity制作3D版iOS游戏
- Unity环境下使用GoogleProtoBuf
- lua 在unity 中的协程使用
- iphone崩溃日志分析工具symbolicatecrash用法
- unity微信分享android篇的一些注意事项
- unity3d遍历子对象的几种方法
- Unity3D脚本18:可视化辅助设置类 Gizmos
- android+unity3D实现数据的存取(PlayerPrefs)
- Unity3d 碰撞检测
- Unity3D中Mathf.SmoothDamp函数使用与Mathf 数学运算(C#)
- unity4 粒子系统 随机贴图
- Unity3D的断点调试功能
- 如何搭建unity test framework
- C#中Delegate委托的使用
- C#中Coroutine的深层研究