Ejemplo n.º 1
0
        public DopeSheet()
        {
            CreateBackground(gameObject, _style.BackgroundColor);
            CreateLabelsBackground();

            _content = VamPrefabFactory.CreateScrollRect(gameObject);
            _content.GetComponent <VerticalLayoutGroup>().spacing = _style.RowSpacing;
            _scrubberRect = CreateScrubber(_content.transform.parent.gameObject, _style.ScrubberColor).GetComponent <RectTransform>();
        }
Ejemplo n.º 2
0
        public static ScreensManager Configure(GameObject go)
        {
            var content = VamPrefabFactory.CreateScrollRect(go);

            return(content.gameObject.AddComponent <ScreensManager>());
        }