Exemple #1
0
 public void Initialize(BlockSystem localBlockSystem, Int3 localLocation)
 {
     LocalBlockSystem   = localBlockSystem;
     LocalLocation      = localLocation;
     name               = $"{LocalBlockSystem.gameObject.name}: {name} {LocalLocation.x} {LocalLocation.y} {LocalLocation.z}";
     transform.parent   = LocalBlockSystem.transform;
     transform.position = LocalBlockSystem.GetBlockWorldPositionByLocation(LocalLocation);
 }