public override void Awake() { UnityUtils.getComponentByName <Transform>(gameObject, "Item").gameObject.AddComponent <Item>(); base.Awake(); }
protected override void Awake() { base.Awake(); listView = UnityUtils.getComponentByName <Transform>(gameObject, "Content").gameObject.AddComponent <ListView>(); listView.init(this); }