随笔分类 -  Unity3D拓展编辑器(Editor)

Editor
摘要:using UnityEngine;using System.Collections;public class MyTextureView : MonoBehaviour{ public Texture texture;}using UnityEngine;using System.Colle... 阅读全文
posted @ 2015-10-10 20:19 martianzone 阅读(963) 评论(0) 推荐(0)
摘要:using UnityEngine;using System.Collections;using UnityEditor;public class ClipEventEditor : EditorWindow{ /// /// MenuItem属性允许你添加菜单项到主菜单和检视面板上下... 阅读全文
posted @ 2015-10-10 19:42 martianzone 阅读(351) 评论(0) 推荐(0)
摘要:public class PlayerAttributeExample : MonoBehaviour{ //无滑块的属性 public int VIPLevel = 0; //特性限定,有滑块 [Range(0, 10)] public int SliderVIPLe... 阅读全文
posted @ 2015-10-10 18:28 martianzone 阅读(3162) 评论(0) 推荐(0)