private void initializeSettings() { em = GameObject.Find("ExperimentalManager").GetComponent <ExperimentalManager>(); studySessions = new List <string>(em.ExperimentalSettings); minAngle = em.minAngle; maxAngle = 360 - minAngle; }
// Start is called before the first frame update void Start() { em = exManager.GetComponent <ExperimentalManager>(); dummyNumSession = em.dummyNumSession; inputField = GameObject.Find("DummyClonesAmplifer").GetComponent <InputField>(); sessionView = GameObject.Find("CurrentDummySettings").GetComponent <Text>(); }
// Start is called before the first frame update void Start() { em = experimentalManager.GetComponent <ExperimentalManager>(); text = gameObject.GetComponent <Text>(); string sessionSummary = "Session: "; for (int i = 0; i < em.dummyNumSession.Count; i++) { sessionSummary = sessionSummary + em.dummyNumSession[i].ToString() + ", "; } text.text = sessionSummary; }
// Start is called before the first frame update void Start() { em = experimentalManager.GetComponent <ExperimentalManager>(); maxDelayField = maxDelayField.GetComponent <InputField>(); minDelayField = minDelayField.GetComponent <InputField>(); intervalDelayField = intervalDelayField.GetComponent <InputField>(); maxDelayText = maxDelayText.GetComponent <Text>(); minDelayText = minDelayText.GetComponent <Text>(); intervalDelayText = intervalDelayText.GetComponent <Text>(); maxDelayField.text = (em.maxDelay * 1000).ToString(); minDelayField.text = (em.minDelay * 1000).ToString(); intervalDelayField.text = (em.intervalDelay * 1000).ToString(); }
// Start is calle d before the first frame update void Start() { em = experimentalManager.GetComponent <ExperimentalManager>(); delaySettings = gameObject.GetComponent <Text>(); delaySettings.text = GenerateText(em.minDelay, em.maxDelay, em.intervalDelay, em.delaySession.Count); }
// Start is called before the first frame update void Start() { em = experimentalManager.GetComponent <ExperimentalManager>(); }