Guest User

ChangeVoxel

a guest
Jul 13th, 2024
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1. void ChangeVoxel() {
  2.             if (World.Instance.currentBiome == World.CurrentBiome.Artic_Islands) {
  3.                 World.Instance.blockID = 0;
  4.             }
  5.             else if (World.Instance.currentBiome == World.CurrentBiome.Desert) {
  6.                 World.Instance.blockID = 1;
  7.             }
  8.             else if (World.Instance.currentBiome == World.CurrentBiome.Forest) {
  9.                 World.Instance.blockID = 2;
  10.             }
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment