Пример #1
0
    // Start is called before the first frame update

    private void Start()
    {
        GC = GameObject.FindGameObjectsWithTag("GestoreGioco")[0].GetComponent <GestoreComunicazione>();
    }
Пример #2
0
 private void Start()
 {
     pm = FindObjectOfType <Player_movement>();
     DM = FindObjectOfType <Dialog_Manager>();
     GC = GameObject.FindGameObjectsWithTag("GestoreGioco")[0].GetComponent <GestoreComunicazione>();
 }