InputObject.cs 605 B

12345678910111213141516171819202122
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace TestObjectHandling
  5. {
  6. public class InputObject
  7. {
  8. // maybe later change int to something else
  9. public int ID {get;}
  10. public float PositionX { get;}
  11. public float PositionY { get;}
  12. public float PositionZ { get;}
  13. public InputObject(int id , float PositionX, float PositionY ,float PositionZ){
  14. this.ID = id ;
  15. this.PositionX = PositionX;
  16. this.PositionY = PositionY;
  17. this.PositionZ = PositionZ;
  18. }
  19. }
  20. }