Skip to content

Instantly share code, notes, and snippets.

@gamanox
Created October 31, 2019 22:24
Show Gist options
  • Save gamanox/5fc0f63aea637e8b2e44d96d761b7763 to your computer and use it in GitHub Desktop.
Save gamanox/5fc0f63aea637e8b2e44d96d761b7763 to your computer and use it in GitHub Desktop.
public class Weld {
public int id;
public string status;
}
public class Chassis {
public int id;
public Weld[] welds;
}
public class Operator {
public int id;
public string name;
public string lineaProd;
}
public class Report {
public int id;
public DateTime date;
public Operator operador;
public Chassis chassis;
}
public class archivoScript : MonoBehavior {
public static Report currentReport;
currentReport.chassis.welds[0].status= "bad";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment