Block.cs 415 B

1234567891011121314
  1. using UnityEngine;
  2. namespace Photon.Pun.Demo.Procedural
  3. {
  4. /// <summary>
  5. /// The Block component is attach to each instantiated Block at runtime.
  6. /// It provides the Block's ID as well as the parent's Cluster ID in order to apply modifications.
  7. /// </summary>
  8. public class Block : MonoBehaviour
  9. {
  10. public int BlockId { get; set; }
  11. public int ClusterId { get; set; }
  12. }
  13. }