Unity EditorWindow拓展 给prefab上某个字段赋值
using System.Collections.Generic;using UnityEditor;using UnityEngine;public class AutoRefreshWindow : EditorWindow{ [SerializeField] private List<GameObject> prefabs = new List<GameObject>(); //序列化对象 private SerializedObject s.
原创
2021-06-10 16:15:50 ·
1043 阅读 ·
2 评论