Пример #1
0
 public void SetType(VoxelType type)
 {
     TypeDef = VoxelWorld.Inst.VoxelTypeDefs[type];
     Health  = TypeDef.MaxHealth;
     ParentChunk.MakeDirty(true);
 }
Пример #2
0
 public void SetType(VoxelType type)
 {
     TypeDef = VoxelWorld.Inst.VoxelTypeDefs[type];
     Health = TypeDef.MaxHealth;
     ParentChunk.MakeDirty(true);
 }