123456789101112131415161718192021222324252627282930313233343536373839 |
- 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;
- // 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;
- }
- }
|