private static ReagentContainer GetContainer(int maxCapacity, ReagentMix contents) { var set = ScriptableObject.CreateInstance <ReactionSet>(); var container = ReagentContainer.Create(set, maxCapacity); container.Add(contents); return(container); }
private static ReagentContainer GetContainer(int maxCapacity, ReagentMix contents) { var set = ScriptableObject.CreateInstance <ReactionSet>(); var container = ReagentContainer.Create(set, maxCapacity); container.Add(contents); return(container); }