Пример #1
0
    private void Start()
    {
        _gameManager = GameObject.FindGameObjectWithTag("GameController");
        JSONReader jsonReader = _gameManager.GetComponent <JSONReader>();

        _lectureList = jsonReader.myLectureList;
    }
Пример #2
0
 void Awake() => myLectureList = JsonUtility.FromJson <LectureList>(textJSON.text);