Пример #1
0
        private void OnEnable()
        {
            var p = this.serializedObject.FindProperty("injections");

            list = ReorderableListUtil.Create(p,
                                              new List <ReorderableListUtil.Column>()
            {
                new ReorderableListUtil.Column()
                {
                    DisplayName = "Name", Width = 60
                },
                new ReorderableListUtil.Column()
                {
                    DisplayName = "GameObject"
                },
            }
                                              , 10);
        }
 private void OnEnable()
 {
     list = ReorderableListUtil.Create(serializedObject, "My List", "dataList", new string[] { "name", "toggle" });
 }