/* * Made By JacobKay */ using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.UI; using DG.Tweening; using System; using Unity.VisualScripting; using System.Net.Sockets; using DG.Tweening.Core.Easing; using Demo; public class LevelChoiceItem : MonoBehaviour { #region variable LoopVerticalScrollRect layout; public Text txt; public Image choiceBox; Vector2 rangeArea; bool isChoice = false; int index; float crtPos = 0; float centerPos; Vector2 scaleRange = new Vector2(0.8f, 1); RectTransform trm; Color origColor; InitOnStart prtObj; int levelNum = 0; #endregion #region Property public string Text { set { txt.text = value; } } #endregion #region endregion private void Start() { this.GetComponent