using System; using System.Collections; using System.Collections.Generic; using System.IO; using TMPro; using UnityEngine; using UnityEngine.Networking; using UnityEngine.UI; public class ScrollViewAdapterPanel1 : MonoBehaviour { public RectTransform prefab; public RectTransform content; //public int curObjAction; ScEditor sce; Manager man; List actList; List scrollGO = new List(); GameObject panel1; int contentH; private void Update() { //content.sizeDelta = new Vector2(content.sizeDelta.x, contentH); } public void Init() { sce = GameObject.Find("ScEditor").GetComponent(); man = GameObject.Find("Manager").GetComponent(); panel1 = GameObject.Find("Panel1"); if (sce.SC == null) Debug.Log(" Panel1 Start: sc = null"); //Debug.Log(" Start: sc.curModeSc.acts.Count = " + sc.curModeSc.acts.Count); //Debug.Log(GameObject.Find("PodsvetButton").GetComponent