Skip to content
Snippets Groups Projects
Commit 39ea8de4 authored by Kimi Heinonen's avatar Kimi Heinonen
Browse files

Worker spawnaa kaupunkiin

parent da94e61c
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,8 @@ public class City : MonoBehaviour
GameObject go = Instantiate<GameObject>(worker);
this.workerlista.Add(go);
go.transform.position = new Vector3();
go.transform.position = new Vector3(gameObject.transform.position.x, gameObject.transform.position.y);
this.population++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment