コード例 #1
0
 public void SwitchBlobType()
 {
     BlobManager.AddBlobsToReserve(BlobManager.GetBlobsInFieldCount(), currentBlobType);
     BlobManager.CallAllBlobsToTube(tube);
     player.SendAllBlobsToTube(tube);
     currentBlobType        = (BlobType)(((int)currentBlobType + 1) % Enum.GetNames(typeof(BlobType)).Length);
     player.CurrentBlobType = currentBlobType;
     UpdateButtons();
 }
コード例 #2
0
 public override void OnSuckedIntoTube()
 {
     BlobManager.AddBlobsToReserve(amount, type);
     base.OnSuckedIntoTube();
 }
コード例 #3
0
 public void RemoveBlob()
 {
     player.SendBlobToTube(tube);
     BlobManager.AddBlobsToReserve(1, currentBlobType);
     UpdateButtons();
 }