예제 #1
0
    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....
    }
예제 #2
0
 protected void Register()
 {
     wUI = base.gameObject.GetComponentInParent <WUI>();
     wUI.Register(this);
 }