Ejemplo n.º 1
0
 private void AddOneProperty(PropertyRenderData data)
 {
     GameObject obj = GameObject.Instantiate(this._Templete.gameObject);
     obj.transform.SetParent(this._scrollInspector.content.transform, false);
     obj.SetActive(true);
     PropertyItem item = obj.GetComponent<PropertyItem>();
     item.Render(data);
     this._childItems.Add(item);
 }