void Start() { gameObject.GetComponent <Button>().onClick.AddListener(click); session = GameObject.Find("Session"); api = GameObject.Find("api_connection").GetComponent <apiConnection>(); }
// Use this for initialization void Start() { api = GameObject.Find("api_connection").GetComponent <apiConnection>(); }
// Use this for initialization void Start() { model = new Dictionary <int, Dictionary <string, string> >(); api = GameObject.Find("api_connection").GetComponent <apiConnection>(); }