/// <summary> /// Take all using trashes back into bin at specific manager and bin /// </summary> public static void TakeInAll(string managerName, string binName) { var manager = Get(managerName); if (manager == null) { return; } TrashBin bin = null; if (manager.bins.TryGetValue(binName, out bin)) { bin.TakeInAll(); } }
private void InternalCreateBin(TrashBin newBin) { newBin.Setup(transform); bins.Add(newBin.Name, newBin); }