摘要: sudo rm rf /tmp/ sudo rm rf /var/log/ 阅读全文
posted @ 2018-07-23 19:29 yufenghou 阅读(153) 评论(0) 推荐(0)
摘要: 有两种方法 1.做成帧序列动画 在ase当中就做好,然后像玩家一样,在游戏中播放 2.制作一个帧 在unity中写脚本,控制每一帧的位置和距离。 3.使用默认的帧动画编辑器。 这个有待尝试。 4.使用spine动画编辑器。 这个有待尝试。 阅读全文
posted @ 2018-03-23 09:57 yufenghou 阅读(384) 评论(0) 推荐(0)
摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; /// /// 用来在监视器下面生成一个按钮,可以扩展编辑器 /// 这个文件必须放在Editor文件夹下面 /// [CustomEditor(typeof(UnityEditor.De... 阅读全文
posted @ 2017-08-11 10:05 yufenghou 阅读(474) 评论(0) 推荐(0)
摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; public class MyTestAttribute : PropertyAttribute { public int max; public int min; public MyTe... 阅读全文
posted @ 2017-08-11 09:55 yufenghou 阅读(1095) 评论(0) 推荐(0)
摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class CamerExtension : Editor { public override void OnInspectorGUI() { base.DrawDef... 阅读全文
posted @ 2017-08-10 23:12 yufenghou 阅读(396) 评论(0) 推荐(0)
摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class Test : MonoBehaviour { [SerializeField][HideInInspector] private int _width; ... 阅读全文
posted @ 2017-08-10 22:55 yufenghou 阅读(890) 评论(0) 推荐(0)
摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class EditorGUILayoutPopup : EditorWindow { public string[] options = new string[]{"cub... 阅读全文
posted @ 2017-08-10 22:46 yufenghou 阅读(12327) 评论(0) 推荐(0)
摘要: ![](http://images2017.cnblogs.com/blog/548583/201708/548583-20170810131027589-728382634.png) ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; p... 阅读全文
posted @ 2017-08-10 13:11 yufenghou 阅读(2249) 评论(0) 推荐(0)
摘要: ``` Your snippets Atom snippets allow you to enter a simple prefix in the editor and hit tab to expand the prefix into a larger code block with templa 阅读全文
posted @ 2017-08-03 13:40 yufenghou 阅读(223) 评论(0) 推荐(0)
摘要: ``` git config --global user.name "dongshen" git config --global user.email "email@example.com" ssh-keygen -t rsa -C "youremail@example.com" ``` 阅读全文
posted @ 2017-08-01 15:54 yufenghou 阅读(124) 评论(0) 推荐(0)