using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class BaseView : MonoBehaviour { public TextMesh text; [HideInInspector] public bool isShow; [HideInInspector] public int sx; [HideInInspector] public int Index = -1; [HideInInspector] public int viewIndex = -1; [HideInInspector] public BaseConfig config; [HideInInspector] public BaseList baselist; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public virtual void init(int i, BaseConfig c,int vi) { // text.text = i.ToString(); this.Index = i; this.config = c; this.viewIndex = vi; } }