示例#1
0
        public void Setup(SampleSelectorUI parentUI, SampleBase prefab)
        {
            this.ParentUI      = parentUI;
            this.ExamplePrefab = prefab;

            this._text.text = prefab.DisplayName;
        }
示例#2
0
        public void Setup(SampleSelectorUI parentUI, SampleBase example)
        {
            this._parentUI = parentUI;
            this._example  = example;

            this._header.text      = this._example.name;
            this._description.text = this._example.Description;
        }