Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.12 KB | None | 0 0
  1. HasblockType<T>(this Block block){
  2.     Block blockBelow = block.GetBlockBelow();
  3.     return blockBelow.GetType == T.GetType();
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement