public void SendAllBlobsToTube(PneumaticTube tube) { while (CurrentFollowerAmount > 0) { SendBlobToTube(tube); } }
public static void CallAllBlobsToTube(PneumaticTube tube) { foreach (var blob in instance.blobsInField) { blob.StartFollowing(tube.transform); blob.State = BlobState.GoingToTube; } instance.blobsInField.Clear(); }
public void SendBlobToTube(PneumaticTube tube) { if (followingBlobs.Count <= 0) { return; } BlobBase blob = followingBlobs.First(); followingBlobs.Remove(blob); blob.StartFollowing(tube.transform); blob.State = BlobState.GoingToTube; }