using Assets.Scripts.Devices.Ant; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; public class DeviceController : PFUIPanel { public Toggle toggle; private float timer = 1.0f; protected override void Awake() { AntConnector.Instance(); } // Start is called before the first frame update protected override void Start() { base.Start(); //Button button = this.transform.Find("Button").GetComponent