internal void Populate(LoomModuleData loomModuleData) { base.Formalize(loomModuleData); _components.nameLabel.text = loomModuleData.module.data.name; foreach (LoomVariable loomVariable in loomModuleData.variables) { Create(loomVariable); } WUI.RebuildLayoutRecursive((RectTransform)base.transform); // loop values, create sub refs // consider call chains, if the value in the chain gets itself somehow.... }
protected void Register() { wUI = base.gameObject.GetComponentInParent <WUI>(); wUI.Register(this); }