protected void DrawPrefabWorpList() { if (prefabsWorpList == null) { prefabsWorpList = new UIInfoListDrawer("预制体筛选"); prefabsWorpList.InitReorderList(prefabsPropWorp); } prefabsWorpList.DoLayoutList(); }
protected void DrawBundleWorpList() { if (bundlesWorpList == null) { bundlesWorpList = new UIInfoListDrawer("资源包筛选"); bundlesWorpList.InitReorderList(bundlesPropWorp); } bundlesWorpList.DoLayoutList(); }
private void OnEnable() { script = serializedObject.FindProperty("m_Script"); graphListProp = serializedObject.FindProperty("graphList"); resetMenuProp = serializedObject.FindProperty("resetMenu"); menuProp = serializedObject.FindProperty("menu"); tempGraph = ScriptableObject.CreateInstance <BridgeUI.Graph.UIGraph>(); tempGraphObj = new SerializedObject(tempGraph); bundleInfoList = new UIInfoListDrawer("资源包"); bundleInfoList.InitReorderList(tempGraphObj.FindProperty("b_nodes")); prefabInfoList = new UIInfoListDrawer("预制体"); prefabInfoList.InitReorderList(tempGraphObj.FindProperty("p_nodes")); UpdateMarchList(); }