Example #1
0
 public void MakeItem()
 {
     //We need to find the Replicator
     if (replicator == null)
     {
         replicator = UnityFunctions.modules.GetComponentInChildren <Replicator>();
     }
     if (replicator != null)
     {
         replicator.AddItemToReplicator(recipe);
     }
 }