- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 unity脚本执行顺序
Awake ->OnEable-> Start ->-> FixedUpdate->Update -> LateUpdate ->OnGUI ->Reset -> OnDisable ->OnDestroyusing UnityEngine; using System.Collections; p...
2017-06-17 19:41:00
149
原创 c#自定义类型的转换方式operator,以及implicit(隐式)和explicit (显示)声明
https://docs.microsoft.com/zh-cn/dotnet/csharp/language-reference/keywords/explicithttps://docs.microsoft.com/zh-cn/dotnet/csharp/language-reference/keywords/implicithttps://docs.microsoft.co...
2017-06-16 09:51:00
297
原创 Unity 平台依赖编译
位置:unity文档-Manual-Scripting-Platform dependent compilationProperty:Function:UNITY_EDITOR#define directive for calling Unity Editor scripts from your game code.UNITY_EDITOR_W...
2017-06-11 17:21:00
120
原创 Unity 菜单拓展
添加自定义菜单项[MenuItem("test/item1 %g")] public static void haha() { Debug.Log("this is a test"); } //添加带快捷键的菜单:只需要在后边添加%+key。//(win : Ctrl+key, Mac :Cmd + key)以上快捷键为...
2017-06-05 20:50:00
86
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人