Ejemplo n.º 1
0
    private void Create(LoomVariable loomVariable)
    {
        GameObject      gameObject      = Instantiate(_prefabs.wUILoomVariable.gameObject, _components.variableContainer);
        WUILoomVariable wUILoomVariable = gameObject.GetComponent <WUILoomVariable>();

        wUILoomVariable.Populate(loomVariable);
    }
Ejemplo n.º 2
0
 internal void Populate(LoomVariable loomVariable)
 {
     _data.loomVariable         = loomVariable;
     _components.nameLabel.text = loomVariable.GetValue().id;
 }