随笔分类 -  Unity3D

摘要:Unity在Windows上默认以DirextX的方式运行,在MacOS和Linux上默认以OpenGl的方式运行, 如果希望在Windows上以OpenGL的方式运行可以在命令行中输入 -force-opengl启动Unity 阅读全文
posted @ 2016-08-10 09:48 瑞坊 阅读(3038) 评论(0) 推荐(0)
摘要:用法:js:@Script RequireComponent(Rigidbody) c#:[RequireComponent (typeof (Rigidbody))]js:@System.NonSerialized@SerializeField@script Serializablec#:[Non... 阅读全文
posted @ 2015-01-17 10:32 瑞坊 阅读(815) 评论(0) 推荐(0)