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