The examples that i've saw are well:
function office(city, country) {
this.city = city;
this.country = country;
}
This code, not works in Unity. The error is: city is not a member of MyScript
How I can create an object correctly?
TNX IN ADVANCE