Exemple #1
0
 public Vector3 VoxelInfoToPosition(BlockInfo voxelInfo)
 {
     return(voxelInfo.chunk.GetComponent <Chunk>().VoxelIndexToPosition(voxelInfo.index));
 }
 public virtual void OnBlockStay(GameObject stayingObject, BlockInfo voxelInfo)
 {
 }
 public virtual void OnMouseDown(int mouseButton, BlockInfo voxelInfo)
 {
 }
 public virtual void OnBlockChangeMultiplayer(BlockInfo voxelInfo, NetworkPlayer sender)
 {
 }
 public virtual void OnBlockEnter(GameObject enteringObject, BlockInfo voxelInfo)
 {
 }
 public virtual void OnBlockChange(BlockInfo voxelInfo)
 {
 }
 public virtual void OnBlockDestroyMultiplayer(BlockInfo voxelInfo, NetworkPlayer sender)
 {
 }
 public virtual void OnBlockDestroy(BlockInfo voxelInfo)
 {
 }
 public virtual void OnBlockPlace(BlockInfo voxelInfo)
 {
 }
Exemple #10
0
 public virtual void OnLook(BlockInfo voxelInfo)
 {
 }