09 2017 档案

Unity 编辑器 Inspector
摘要:1 using UnityEngine; 2 using System.Collections.Generic; 3 using System; 4 public class TestA : MonoBehaviour 5 { 6 public int T_int = 1; 7 public int[] TA_int = new int[] { 1, 2 }; 8... 阅读全文

posted @ 2017-09-29 14:53 yungs 阅读(405) 评论(0) 推荐(0)

Unity保存序列化数据
摘要:public class NewEditModeTest :Editor { [MenuItem("CreateData/CreateTestData")] static void TestCreateData() { var create = ScriptableObject.CreateInstance (); int index = 1; var path = Appli... 阅读全文

posted @ 2017-09-28 14:48 yungs 阅读(920) 评论(0) 推荐(0)