随笔分类 - Unity
摘要:手机上有效。 PC上调试,无效 public class doubleTouchReload : MonoBehaviour { // Update is called once per frame void Update() { if (Input.touchCount > 0)//手指数量 {
阅读全文
摘要:转载:https://www.taikr.com/article/3926 void Start() { } // Update is called once per frame void Update() { FollowMouseRotate(); FollowMouseMove(); } //
阅读全文
摘要:一,安装vscode 安装就忽略了。 一些实用插件: 1 Auto-Using for C# 自动添加引用 2 C# 3 C# XML Documentation Comments 注释/// ,你懂得 4 Chinese 汉化 5 Debugger for Unity 调试unity 6 Unit
阅读全文
摘要:一,首先创建一个Cube(这里我自己的是一个模型) 二,创建3个空物体 我取名point 将空物体拖动到不同的地方。 三,创建c# scrpit 这里参考了:https://blog.csdn.net/czhenya/article/details/77412300 using System.Col
阅读全文