Beacon.cs 700 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using UnityEngine;
  7. using UnityEngine.UI;
  8. public class Beacon
  9. {
  10. public uint id { get; set; }
  11. public float x { get; set; }
  12. public float y { get; set; }
  13. public float z { get; set; } // этаж
  14. public string uuid { get; set; }
  15. public uint minor { get; set; }
  16. public uint major { get; set; }
  17. public GameObject beacon { get; set; }
  18. public GameObject panel_button { get; set; }
  19. public bool enabled { get; set; }
  20. public byte byteEnabled {
  21. get
  22. {
  23. return enabled ? (byte) 1 : (byte) 0;
  24. }
  25. }
  26. }