Beispiel #1
0
 private void Awake()
 {
     gridManager   = GetComponent <GridManager>();
     autoManager   = GetComponent <AutomataManager>();
     playText      = GameObject.Find("PlayText (TMP)").GetComponent <TMP_Text>();
     dropDownValue = GameObject.Find("DropdownOptions").GetComponent <TMP_Dropdown>();
 }
Beispiel #2
0
    private void Start()
    {
        Instance     = this;
        _connections = new List <Vector2Int>();
        automataType = AutomataType.dfa;

        _inputChecker = GetComponent <InputStringCheck>();

        ConnectionEvents.Instance.OnSecondStateSelected += UpdateLocalConnections;
    }
Beispiel #3
0
 private void Awake()
 {
     render      = GetComponent <SpriteRenderer>();
     grid        = FindObjectOfType <GridManager>();
     autoManager = FindObjectOfType <AutomataManager>();
 }