public RaycastObjectData(RaycastObjectType type, GameObject colliderObject)
 {
     this.colliderObject = colliderObject;
     this.type           = type;
     tile = null;
 }
 public RaycastObjectData(RaycastObjectType type, TileBase tile, GameObject colliderObject)
 {
     this.type           = type;
     this.tile           = tile;
     this.colliderObject = colliderObject;
 }
 public RaycastObjectData(RaycastObjectType type, TileBase tile)
 {
     this.tile      = tile;
     this.type      = type;
     colliderObject = null;
 }