public void SetFactoryObject(FactoryObject obj)
        {
            FactoryCreativeOutput creativeOutput = obj.GetComponent <FactoryCreativeOutput>();

            if (creativeOutput != null)
            {
                _creativeOutputMenu.gameObject.SetActive(true);
                _creativeOutputMenu.Setup(creativeOutput);
            }
        }
Example #2
0
 public void Setup(FactoryCreativeOutput creativeOutput)
 {
     CreativeOutput = creativeOutput;
     SetItem(creativeOutput.Item.Item);
 }