随笔分类 -  Unity

Unity开发相关
摘要:Screen.orientation = ScreenOrientation.AutoRotation;//设置方向为自动(根据需要自动旋转屏幕朝向任何启用的方向。) Screen.autorotateToLandscapeRight = true; //允许自动旋转到右横屏 Screen.auto 阅读全文
posted @ 2021-11-10 09:42 球状闪电 阅读(1204) 评论(0) 推荐(0)
摘要:Unity是2017.4.40,Visual Studio用的是2019 在Unity→Edit→Preferences→External Tools 中将External Script Editor设置为2019,并且把Editor Attaching勾选。 做完以上操作后再Visual Stud 阅读全文
posted @ 2021-11-08 16:39 球状闪电 阅读(1492) 评论(0) 推荐(0)