private void Awake() { trialDelegate = FindObjectOfType <TrialDelegate>(); var trialSetting = ExperimentConfig.instance.GetCurrentConfig().TrialSetting; feedback = trialSetting._feedback; feedback = true; // TODO: remove this feedbackText = gameObject.GetComponent <Text>(); feedbackText.text = "HELLO VISION LAB"; feedbackText.enabled = false; networkMessages = new List <string>(); }
protected virtual void OnEnable() { trialDelegate = Object.FindObjectOfType <TrialDelegate>(); if (trialDelegate != null) { TrialDelegate.ReadyToPresentStimuli += Present; } else { return; } trialDelegate.StimulusReady(); }
private void Awake() { trialDelegate = FindObjectOfType <TrialDelegate>(); promptType = "Keyboard Prompt"; promptImageRenderer = gameObject.GetComponent <SpriteRenderer>(); }
private void Awake() { trialDelegate = FindObjectOfType <TrialDelegate>(); stimulusOnset = ExperimentConfig.instance.GetCurrentConfig().TrialSetting._stimulus_onset; }