예제 #1
0
    private void CreateHeader(string headerName)
    {
        HeaderElement headerElement = Instantiate(_headerPrefab);

        headerElement.Initialize(headerName);
        headerElement.transform.SetParent(_headerContentRoot);

        _headers.Add(headerName, headerElement);
    }