private void Awake()
 {
     image         = GetComponent <Image>();
     text          = GetComponentInChildren <TextMeshProUGUI>();
     button        = GetComponent <Button>();
     perceptron    = GetComponentInParent <Perceptron>();
     FunctionIndex = -1;
 }
Example #2
0
 public void AddPerceptron(Perceptron perceptron)
 {
     perceptrons.Add(perceptron);
 }
Example #3
0
 // Start is called before the first frame update
 void Awake()
 {
     text       = GetComponentInChildren <TextMeshProUGUI>();
     perceptron = GetComponentInParent <Perceptron>();
 }