2019年7月15日

摘要: 1 using System.Collections; 2 using System.Collections.Generic; 3 using UnityEngine; 4 5 public class shoot : MonoBehaviour { 6 7 public GameObject bu 阅读全文

posted @ 2019-07-15 16:53 小木book 阅读(139) 评论(0) 推荐(0) 编辑

摘要: 1、当Inspector上的值和代码中的值不一样时unity是以Inspector上的值为准的。 例:代码中的public int speed = 10; 在Inspector上修改值为20,则speed的实际值就变为20。 阅读全文

posted @ 2019-07-15 16:43 小木book 阅读(101) 评论(0) 推荐(0) 编辑

摘要: 1、切换vs版本 Edit-Preferences-External Tools下可以进行更改。 2、Console等主界面窗口意外关闭找不到了。 Window-General下进行打开。(注:window为窗口含义,但凡窗口相关的问题首选在Window下进行查找处理。) 阅读全文

posted @ 2019-07-15 16:20 小木book 阅读(89) 评论(0) 推荐(0) 编辑