using System.Collections; using System.Collections.Generic; using UnityEngine; namespace BITKit { public class MultiplexGroup : Provider { public int index = 0; public List list = new(); void Start() { Set(index); } public override void Set(int t) { index = t; foreach (var item in list) { item.active = false; } list[index].active = true; } public override int Get() { throw new System.NotImplementedException(); } } }